Pradyun S. Gedam
f6a7f4b7c4
🎨
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
3efb452a2a
Use an enum-like attribute to refer to configuration sources
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
c9113e41db
Rename site-wide to global
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
e85e838d9c
Use exceptions to signal errors
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
00aa0be6ed
Add --editor option
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
641df16894
Determine file to load in a separate method
...
Adds a fallback to venv and user for modifying commands
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
5597677257
Use a positional argument to determine the action
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
4673eedeed
Print the help on not being given options
2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
f1f2c2b0e8
Git messed up whitespace. :/
2017-05-20 12:53:13 +05:30
Pradyun S. Gedam
558edd6882
Implement get_file
2017-05-20 12:53:13 +05:30
Pradyun S. Gedam
891a10c6de
Remove unused imports
2017-05-20 12:53:13 +05:30
Pradyun S. Gedam
757d356d89
Add ConfigurationError and use it.
2017-05-20 12:52:01 +05:30
Pradyun S. Gedam
39edb2cfb2
Nicer messages/docstrings, better log level
2017-05-20 12:52:01 +05:30
Pradyun S. Gedam
614059007f
Add a configuration command
...
* Major refactor of configuration to remember parsers and contexts.
* Add new methods for modifying configuration and what a parser is for.
* Add a load_only parameter to make life easier.
* Rename variable on baseparser for ensuring no collisions occur by mistake
* Add a configuration command that *mostly* does what it should
[skip ci] because it'll fail anyway. The tests need updating.
2017-05-20 12:48:59 +05:30