Allow Global Path for Config File or Replace Text in CLI
See original GitHub issue@CookPete I wish if we could define a global .auto-changelog
something like CLI would take global config path for projects where I don’t have to install auto-changelog as a dep but a global install would work.
Right now I am doing this:
auto-changelog --package --unreleased --output 'CHANGELOG.md' --commit-limit 'false' --template '/Users/ahmadawais/Dropbox/bin/changelog.hbs'
But I can’t seem to be able to add the following settings in the CLI
{
"replaceText": {
"(NEW|IMPROVE|FIX|DOC|RELEASE|TEST): ": ""
}
}
I wish I could set a global config file to use with all the settings.
Or you can allow --replace-text
option for CLI that would also solve my problem here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Allow Global Path for Config File or Replace Text in CLI #127
cookpete I wish if we could define a global .auto-changelog something like CLI would take global config path for projects where I don't...
Read more >How can you find and replace text in a file using the Windows ...
To explain it: powershell starts up powershell.exe, which is included in Windows 7; -Command "... " is a command line arg for powershell.exe ......
Read more >Configuration basics - AWS Command Line Interface
This section explains how to quickly configure basic settings using the config and credentials files that the AWS Command Line Interface (AWS CLI)...
Read more >config | npm Docs
global configuration file (defaults to $PREFIX/etc/npmrc ; configurable via CLI option --globalconfig or environment variable $NPM_CONFIG_GLOBALCONFIG ); npm's ...
Read more >wp search-replace | WP-CLI Command
Searches through all rows in a selection of tables and replaces appearances of the first string with the second string. By default, the...
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
Ah I get you now. Yeah this is a good idea. I’ve added
--config
or-c
toauto-changelog@1.15.0
There is already support for
.auto-changelog
as per 89c8b44774a7. What specifically is not working?replaceText
is not a CLI option due to the complexity of the configuration.