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

CLI command to manage sprinkle #728

Closed
lcharette opened this issue Jun 4, 2017 · 2 comments
Closed

CLI command to manage sprinkle #728

lcharette opened this issue Jun 4, 2017 · 2 comments
Assignees
Labels
bakery Related to the Bakery feature
Milestone

Comments

@lcharette
Copy link
Member

As of 4.1, the new bakery cli will create a default sprinkles.json if none is present when first installing UF. Any modifications to the sprinkles list requires to edit the file manually. Depending on the deployment option, it could be useful to have a command to manage the sprinkle list. It would also be easier to install community sprinkles.

One problem with such command is how to define the order of the sprinkles. We'll need to find a way to order stuff from within the cli...

@lcharette lcharette added the bakery Related to the Bakery feature label Jun 4, 2017
@lcharette lcharette added this to the 4.1.x milestone Jun 4, 2017
@lcharette lcharette self-assigned this Jun 4, 2017
@alexweissman
Copy link
Member

alexweissman commented Jul 30, 2017

How about:

  1. Load the current contents of sprinkles.json, number them, and display the numbered list;
  2. Prompt the user to choose "Load (l)ast" or "Load (b)efore...";
  3. If they choose (b)efore, then can then specify the number of the Sprinkle to load before;
  4. Insert the Sprinkle name in the appropriate position;
  5. Write back the modified list to sprinkles.json.

@alexweissman
Copy link
Member

Should also provide a command-line option for this as well. --load last and --load before __?

@lcharette lcharette modified the milestones: 4.1.x, 5.0 Dec 13, 2017
@lcharette lcharette closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bakery Related to the Bakery feature
Projects
None yet
Development

No branches or pull requests

2 participants