workflow config init
Set up the configuration file, asking for and checking each credential
Synopsis
Ask for the Jira and Slack credentials, check each one, and write a .workflow.json with what passed.
By default it lands at the repository root, so every subdirectory sees it; outside a repository it lands in the current directory. Use –global to write it to your home directory instead, where every directory can see it. Use –template to write a blank file to fill in by hand rather than being asked. With –dry-run it runs the same checks, writes nothing and stores nothing in the keychain, and prints the file it would write, masked.
workflow config init [flags]Options
--force overwrite an existing file
--global write to the home directory instead of here
-h, --help help for init
--template write a blank file to edit by hand instead of being askedOptions inherited from parent commands
--dry-run hold back every write to Jira, the forge, the messaging service, git and files, and say what it would have done
--log string append a one-line outline of each request (method, path, status, duration) to FILE, for a bug reportSEE ALSO
- workflow config - Create and inspect the configuration file