Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a command line tool #1

Open
12 of 16 tasks
jkomoros opened this issue Jun 17, 2023 · 0 comments
Open
12 of 16 tasks

Add a command line tool #1

jkomoros opened this issue Jun 17, 2023 · 0 comments

Comments

@jkomoros
Copy link
Owner

jkomoros commented Jun 17, 2023

  • Allow selecting a different seed to execute as a parameter
  • Command should print help
  • Don't require -- in the command
  • A way to load a seed from a specific file
  • For ids that are ambiguous (in multiple packets), ask using a choice UI in CLI first.
  • Private seeds should not be shown unless --all is passed
  • Add a list command that prints out all seeds
  • Use inquirer live menu to select a seed to print
  • Allow passing overrive key/value pairs to set in environment
  • diagram includePrivate
  • include description in list.
  • A tool to print all expanded seeds (to diagnose unrolling issues)
  • a --mock command to set the environment to mock
  • Add a command to list all named let/let-multi properties in a packet (or rooted from a seed). This will help find typos.
    • Generally a analyze command that prints out var/lets (showing ones that are mismatched), store key values and namespaces, memory namespaces, whether there's a dynamic reference, and any remote seeds it references
  • Allow --packet to pass multiple packets. Everywhere it's used (e.g. garden.diagram), have the treatment of an empty array
jkomoros added a commit that referenced this issue Jun 17, 2023
jkomoros added a commit that referenced this issue Jun 17, 2023
jkomoros added a commit that referenced this issue Jun 17, 2023
jkomoros added a commit that referenced this issue Jun 19, 2023
jkomoros added a commit that referenced this issue Jun 19, 2023
jkomoros added a commit that referenced this issue Jun 19, 2023
jkomoros added a commit that referenced this issue Jun 19, 2023
jkomoros added a commit that referenced this issue Jun 19, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
…enceForID.

seedReferenceForID handles multiple overlapping seeds.

Part of #1.
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
seeds includes /default.json as the one preprovided one. But this makes it so users won't accidentally add seed defintions they don't want.

Part of #1.
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jun 25, 2023
jkomoros added a commit that referenced this issue Jul 1, 2023
jkomoros added a commit that referenced this issue Jul 1, 2023
jkomoros added a commit that referenced this issue Jul 4, 2023
jkomoros added a commit that referenced this issue Jul 4, 2023
…e you want, instead of just blindly

assuming the first one.

Part of #1.
jkomoros added a commit that referenced this issue Jul 4, 2023
… to have `:` and `.`.

This allows the convention to be that you store a memory or let/var using a prefix you control, e.g.
'komoroske.com:'.

Part of #1.
jkomoros added a commit that referenced this issue Jul 8, 2023
jkomoros added a commit that referenced this issue Jul 9, 2023
…m to a single packet.

Everything not in that packet will be treated like a remote seed in the diagram.

Part of #1. Part of #19.
jkomoros added a commit that referenced this issue Jul 10, 2023
loadLocalGarden() also takes a list of packets directly.

Part of #1.
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
This means that the garden tool only shows public seeds currently.

Part of #1.
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 10, 2023
Otherwise, it prints a seed (defaulting to the entrypoint if none is provided).

Part of #1.
jkomoros added a commit that referenced this issue Jul 10, 2023
jkomoros added a commit that referenced this issue Jul 16, 2023
jkomoros added a commit that referenced this issue Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant