David Strobach
0e2846d66a
Use f-string as per the reviewer request
2020-08-28 16:53:45 +02:00
David Strobach
dc0b8a6839
black
2020-08-28 16:53:45 +02:00
David Strobach
dd4088b61d
vox: Add combo new+activate and deactivate+rm actions
...
Implemented via "vox new --activate" and "vox deactivate --remove".
2020-08-28 16:53:45 +02:00
David Strobach
f4794caef7
vox: Fix virtual environment removal
...
Virtual environment was impossible to delete after
activation/deactivation cycle.
2020-08-23 20:49:32 +02:00
Stefane Fermigier
60fecdf242
Fix error message
...
The error message for `vox rm` wrongly assumed that `vox deactivate` needs an argument.
Example of the error in action:
```
(jnov) fermigier@mbp-stefane-abilian ~/projects/jnov master $ vox rm jnov
The "jnov" environment is currently active. In order to remove it, deactivate it first with "vox deactivate jnov".
(jnov) fermigier@mbp-stefane-abilian ~/projects/jnov master $ vox deactivate jnov
usage: vox [-h] {new,create,activate,workon,enter,deactivate,exit,list,ls,remove,rm,delete,del,help} ...
vox: error: unrecognized arguments: jnov
(jnov) fermigier@mbp-stefane-abilian ~/projects/jnov master $ vox deactivate
Deactivated "jnov".
```
2020-03-23 12:07:20 +01:00
Gil Forsyth
258c2fc610
Run black
on all bundled xontribs
2019-04-26 11:11:11 -04:00
Stephan Fitzpatrick
e073545077
python 3.4/3.5 compat for vox
2018-12-21 18:39:26 -08:00
Stephan Fitzpatrick
fa75b37737
python 3.4 support
2018-12-21 14:40:31 -08:00
Stephan Fitzpatrick
fe39472ddb
derp
2018-12-20 20:36:41 -08:00
Stephan Fitzpatrick
52fdb3eae0
add -p flag
2018-12-20 20:33:03 -08:00
Stephan Fitzpatrick
51c31a6b40
allow user to invoke specific interpreter for vox virtualenv creation
2018-12-20 20:27:47 -08:00
halloleo
45b13446de
PEP8 style changes to help strings
2018-11-29 10:56:51 +11:00
halloleo
3a3554eaa0
Document arbitrary paths in vox.
...
* Added the possibility of arbitrary paths to the help strings in `vox activate` and
`vox remove`
* Also updated the documentation accordingly.
2018-11-15 22:35:45 +11:00
Alexey Shrub
2374567c93
Pass all params to voxapi.create
2018-09-08 13:15:08 +03:00
Anthony Scopatz
ca49e2e246
more style fixes
2018-07-15 17:26:22 -05:00
Jamie Bliss
6e47ce54e6
Fix vox activate
...
Fix a typo in `vox activate`
2017-11-10 17:44:15 -05:00
Joel Gerber
2abb24f4f6
Docstring and comment spelling corrections
...
A number of common spelling typos found within various docstrings and
comments found within source code files have been identified and resolved.
2017-06-07 11:51:17 -04:00
Jamie Bliss
311b53b56f
pep8
2016-08-04 22:31:45 -04:00
Jamie Bliss
9456620991
Use __all__
in the included xontribs
2016-08-04 19:19:28 -04:00
Jamie Bliss
0cc7741d05
Fix up some missed refactorings.
...
(I'm getting sloppy...)
2016-07-21 15:26:37 -04:00
Jamie Bliss
9eadf2707f
It would help if I did it properly. >.>
2016-07-21 15:18:44 -04:00
Jamie Bliss
5b2ac9ba27
Missed a thing.
2016-07-21 15:15:53 -04:00
Jamie Bliss
fa48f29f26
flake8
2016-07-21 14:36:46 -04:00
Jamie Bliss
9c0584b9b9
Some tweaking for the xonsh bdfl
2016-07-21 14:25:32 -04:00
Jamie Bliss
ed5c1c7cd5
Lazy load pretty much everything
2016-07-21 13:54:58 -04:00
Jamie Bliss
49ea0eee15
It's 'new', not 'create'.
...
(I'm adding it as an alias because I've mis-typed it about 500 times now.)
2016-07-21 11:03:15 -04:00
Jamie Bliss
8a89d5195e
Merge remote-tracking branch 'upstream/master' into vox_opts
2016-07-21 10:54:14 -04:00
Leonardo Santagada
3f955da3e4
Merge remote-tracking branch 'upstream/master' into remove-flake8-exceptions
2016-07-21 09:34:49 +02:00
Jamie Bliss
8c86ff1437
Improve help and handle the no-command case
2016-07-21 01:21:07 -04:00
Jamie Bliss
ae0f745200
Fixed it all up, i think
2016-07-21 00:36:35 -04:00
Jamie Bliss
657d927aa7
First stab at argparse version. Doesn't actually work yet.
2016-07-21 00:26:13 -04:00
Jamie Bliss
e2ac41d460
Add sys import, and be more consistent about errors going to stderr.
2016-07-20 18:32:44 -04:00
Leonardo Santagada
ec4c346b0b
Merge branch 'master' into remove-flake8-exceptions
2016-07-21 00:05:17 +02:00
Jamie Bliss
97c30dd19c
Do more things globally.
...
I guess a little polution is ok.
2016-07-20 16:56:39 -04:00
Jamie Bliss
50f34fa352
Refactor machinery into voxapi in order to minimize global namespace pollution.
2016-07-20 16:22:23 -04:00
Jamie Bliss
67272642d7
Add news item, and handle line-item comments.
2016-07-20 16:05:44 -04:00
Jamie Bliss
7a05377443
Migrate vox to a xontrib
2016-07-20 15:45:14 -04:00