feat: add info command line subcommand (#1330)
* feat: add `info` command line subcommand Adding an info command allows the documentation to refer to it when mentioning platform specific information. This gives users a nicer experience since they don't need to think about how `ncspot` will behave on their system, but can run `ncspot info` to get that information. * fix: info command don't create runtime directory * fix: don't print runtime path on Windows Windows doesn't use the runtime path so it shouldn't be printed there. * fix: make `info` command easier to parse * docs: add back the default configuration directory
This commit is contained in:
@@ -33,7 +33,7 @@ ncspot is available on macOS (Homebrew), Windows (Scoop), Linux (native package
|
||||
BSD's. Detailed installation instructions for each platform can be found [here](/doc/users.md).
|
||||
|
||||
## Configuration
|
||||
A configuration file can be provided at `$XDG_CONFIG_HOME/ncspot/config.toml`. Detailed
|
||||
A configuration file can be provided. The default location is `~/.config/ncspot`. Detailed
|
||||
configuration information can be found [here](/doc/users.md#configuration).
|
||||
|
||||
## Building
|
||||
|
||||
Reference in New Issue
Block a user