I expect this will be most useful in a local configuration file, but we won't enforce that. (We will allow it in the global file as well.)
The idea is that you can set a value, say "PREFIX=http://my-test-machine-instance:8888/api/v1" which will then be prefixed to any url you provide. E.g. instead of "crest http://my-test-machine-instance:8888/api/v1/widget/123", if the PREFIX was set you would only need "crest /widget/123". I think this will be a big time and typing saver given that the expected use case is to type "crest" many times in a given project with only the latter part of the URL changing.
[x] The prefix would only be settable in the config file, not via the command line
[x] If the URL includes the scheme (e.g. "http:"), that overrides the prefix.
I expect this will be most useful in a local configuration file, but we won't enforce that. (We will allow it in the global file as well.)
The idea is that you can set a value, say "PREFIX=http://my-test-machine-instance:8888/api/v1" which will then be prefixed to any url you provide. E.g. instead of "crest http://my-test-machine-instance:8888/api/v1/widget/123", if the PREFIX was set you would only need "crest /widget/123". I think this will be a big time and typing saver given that the expected use case is to type "crest" many times in a given project with only the latter part of the URL changing.