[Docs] Document CLI Recipes
See original GitHub issueRecipes Documentation
- What is the motivation / use case for changing the behavior?
Many of the issues that arise for the CLI project are actually questions about implementation disguised as bugs. To help with this, a proposed “Recipes” section is being created.
“Recipes” are quick examples of how to accomplish a specific task, with code examples included. For example, a recipe might contain how to configure the CLI to use Electron, or how to get the tests to run off of source code instead of the bundled code.
Use this issue to discuss what kinds of recipes should be added, and which ones will be most helpful.
Note: Some of the suggestions may be combined, broken out, or moved to a different location (and some of them are features not yet implemented). This is just an initial location to gather ideas.
Recipes to add
- Create an “export” task
- Test Driven Development (how to configure)
- Generate external loader config file
- Enable BrowserSync to proxy a backend server (multiple variations)
- Change RequireJS
baseURL
location - Change the output directory of a build
- Add a
clean
task to clean up old builds - Adding css plugins
- Manual bootstrapping
- Configuring shorthand paths
- Setting up complicated bundle dependencies
- Copy source files to build directory (without transpiling)
- Setup HTTPS (link)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:23 (12 by maintainers)
Top Results From Across the Web
CLI Recipes - Latest WildFly Documentation
Overview of all system properties in WildFly including OS system properties and properties specified on command line using -D, -P or --properties arguments....
Read more >list-recipes — AWS CLI 1.27.40 Command Reference
Returns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN). See also:...
Read more >Recipes - ReadMe Documentation
Easily upload folders of documentation with rdme, our CLI tool! One easy step to get all your files where you want them. 2...
Read more >create-recipe — CDP CLI 0.9.76 documentation
The description of the recipe. The description can have a maximum of 1000 characters. --cli-input-json (string). Performs ...
Read more >detector-recipe-detector-rule — OCI CLI Command Reference ...
Description¶. Detector Recipe Rule ... Copyright 2016, 2021, Oracle. Built with Sphinx using a theme provided by Read the Docs.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It might be appropriate to just have a Recipes section of the docs. Then under that we can have cli, binding, components, etc. Each one of those can be an article with a collection of recipes we can show in the sidebar.
Everything related to updating would happen through npm. The Aurelia CLI doesn’t have anything to do with that. So, the same practices for updating any npm library would apply to all Aurelia libraries, including the CLI itself. The only difference for the CLI is that there is a globally installed version of it and a locally installed version. The global version creates new projects and then it proxies all other commands through to the locally installed version. That allows you to control your tools versions on a per-project basis.