isort icon indicating copy to clipboard operation
isort copied to clipboard

`--config-file` option

Open abcdenis opened this issue 3 years ago • 1 comments

Hi, what I did:

  • issue isort --help | less command
  • try to find "config" or "config-file" option and failed
  • googled "how to specify config file for isort" and found an issue with --sp option

IMHO a lot of utilities use --config-file option name for specifying file on CLI.

It will be great to add alias to --sp command with file presence check or add term "config file" or "config" to --sp option explanation in help.

Thank you.

abcdenis avatar Sep 23 '21 11:09 abcdenis

Hi,

The settings file existence is checked and you will get an error if it does not exist.

I find the alias suggestion interesting and if @timothycrosley would be interested, I can implement that.

sgaist avatar Oct 03 '21 08:10 sgaist