Add support for the --since flag to the add command
See original GitHub issueAffected Packages
@changesets/cli
Problem
In a monorepo that uses gitflow (multiple target branches), the baseBranch
config option isn’t flexible enough and can result in the wrong changed packages detection when using the add
command.
Proposed solution
Add support for the --since
flag (used with the status
command) to the add
command.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CLI Flags in Practice + How to Make Your Own CLI Command ...
In this post, we'll go over what type of parameters CLI commands take—also known as "flags", "arguments", and sometimes "options.” Then, we'll ...
Read more >Relax ordering requirements for flags/commands to improve ...
CLI ergonomics when editing/adding flags to command are very bad. ... Without forced ordering you can add a flag at the end at...
Read more >Flags · CLI11 Tutorial
Adding a flag in CLI11 is done in one of three ways. Boolean flags. The simplest way to add a flag is probably...
Read more >How to add --help, -h flag to Thor command? - ruby
I'd like to avoid having to add help-specific logic to all commands. Also, this executes the command after printing the help.
Read more >How To Use the Flag Package in Go - DigitalOcean
Go applications can support sub-commands with their own set of flags using the flag.(*FlagSet) type. To illustrate this, create a program that ...
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 FreeTop 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
Top GitHub Comments
@acao we could use a hand with implementing this 😉
From my understanding, having the lists of
changed
packages be accurate when you’re generating changesets is super useful, particularly in repositories with more than, say, 20 packages.I’d be fine with calling it
baseBranch
so it accurately reflects the flag it’s overriding, and the chance could be relatively easy to implement as such.