Create a command line interface for dealing with manifests
See original GitHub issueWe need a way to deal with the west manifest from the command line. At the very least, this needs to cover creating a “frozen” or “pinned” manifest file which nails down the revisions of west and every project.
The interface would look like this:
west manifest <operation> [operation-arguments]
The <operation>
argument would be a mutually exclusive group of options, to at least include --freeze
.
So you could write:
west manifest --freeze [more --freeze-specific options]
(Using --
style options in a mutually exclusive group instead of yet another subparser makes the argparse configuration easier to deal with.)
If we had another hypothetical operation --foo
, you could write:
west manifest --foo [more --foo-specific options]
But this would be an error, since --freeze
and --foo
are mutually exclusive:
west manifest --freeze --foo
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Deploying with App Manifests | Cloud Foundry Docs
Overview. Manifests provide consistency and reproducibility, and can help you automate deploying apps. Both manifests and command line options ...
Read more >Understanding manifest generation for C/C++ programs
In command line builds such as ones that use NMAKE to build code, you can use the /MANIFEST:EMBED linker option to embed the...
Read more >Command Line Interface | Operator SDK
The Operator Framework is an open source toolkit to manage Kubernetes native applications, called Operators, in an effective, automated, and ...
Read more >Command-line interface — lhotse 1.12.0.dev documentation
Create a CutSet stored in OUTPUT_CUT_MANIFEST. Depending on the provided options, it may contain any combination of recording, feature and supervision manifests ......
Read more >Skill Manifest Schema | Alexa Skills Kit - Amazon Developer
To get information about the manifest schema that your skill requires before you call a CLI or SMAPI command, use the get-resource-schema CLI...
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
👍 or
-i
/--in-place[=SUFFIX]
mirroring sed’s ability to make a backupThat is also what I implemented, I think that is a logical first step. We can of course later add a new
-r, --replace
option that actually replaces it