question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a command line interface for dealing with manifests

See original GitHub issue

We 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:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mbolivarcommented, Jan 30, 2019

👍 or -i / --in-place[=SUFFIX] mirroring sed’s ability to make a backup

0reactions
carlescuficommented, Jan 30, 2019

I was just going to print it to stdout, with an -o FILENAME option to set the output file.

That 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found