Commit Graph

44 Commits

Author SHA1 Message Date
James Hegedus
b65fbf98a7
docs: print docs and github URLs in help cmd 2020-10-23 11:22:53 +11:00
James Hegedus
8ca2af3316
feat: cmd to print debug information (#787) 2020-08-24 10:55:41 +10:00
Trevor Brown
cc0023b022
feat: plugin documentation callback support 🎉 (#757) 2020-07-31 18:47:18 +10:00
Dan Fuchs
c9c7be2080 Clarify different versions of asdf install 2020-07-09 21:46:53 -05:00
Dan Fuchs
5578b7849c Clarify different versions of asdf install 2020-07-09 21:17:19 -05:00
Dan Fuchs
6a1855e26f Install one tool specified in .tool-versions
`asdf install <name>` installs that single tool at the version specified
in `.tool-versions`.  If there is no `.tool-versions` or if that tool is
not in it, an error message is shown and `asdf` exits `1`.

Implements #759
2020-07-09 18:16:50 -05:00
James Hegedus
605be10046
docs: synchronize help text (#742) 2020-06-17 08:25:04 +10:00
Victor Hugo Borja
3d3595c7a3 Improvements to asdf plugin commands. 2019-11-30 14:18:37 -06:00
Victor Hugo Borja
3f0fe57db9 Let asdf help show plugin commands when available.
Also fix `asdf list all` to work as subcommand. Fixes #602
2019-11-29 07:42:55 -06:00
Victor Hugo Borja
100917c0e4 Add more commands to documentation. 2019-11-27 12:50:31 -06:00
Victor Hugo Borja
e968fe6142 Subcommand-aware command line interface. 2019-11-27 12:17:17 -06:00
Daniel Perez
d75f02fc29 Update help.txt 2019-03-20 19:08:40 +00:00
Victor Hugo Borja
8927a4a09f Add asdf env command 2019-01-19 20:59:27 -06:00
Victor Hugo Borja
e51f778b61 Move bin/private/asdf-tool-exec to be asdf exec command
This way the code for executing shims can also be invoked via
`asdf exec <tool> [args..]` and can be linted.
2019-01-19 20:02:14 -06:00
Victor Hugo Borja
7fda291df0 Add asdf shim-versions command (#380)
For example `asdf shim-versions npm` will list the plugins and their
versions on which the `npm` command is available.

Based on #432
2019-01-19 13:31:26 -06:00
mig4
a58e9e3c17
Make where command default to current version
Allow not specifying the version on command line in which case fall back
to looking it up.

Also add tests for the `where` command.
2018-10-28 17:47:21 +00:00
Nathan Sutton
79d188604b Make help text reflect that <name> and <version> are optional in asdf install command 2018-09-17 16:29:32 -05:00
Daniel Perez
d51386f569
Merge pull request #273 from jthegedus/show-url-current-v
Add print repo URLs with `asdf plugin-list` and `adsf plugin-list-all`
2018-01-31 02:00:08 +09:00
jthegedus
f99bdc75c0 add --urls flag for asdf list-plugins
Fixed tests due to use of printf
2018-01-14 19:38:00 +11:00
jthegedus
7b1cf56de0 Add print repo URLs with asdf plugin-list and adsf plugin-list-all
* Use printf for formatting
* Add error when plugin index at /asdf_dir/repository/plugins is not found
* add example of output to README
2018-01-14 14:37:48 +11:00
jthegedus
3dffa58909 Add asdf current to README and asdf -h. Closes #257
PS. sorry bu Prettier ran on save
2018-01-14 13:07:07 +11:00
Trevor Brown
9db92163d5 Add better help for the plugin-add command. 2017-09-06 21:35:08 -04:00
Victor Borja
e1f34dd383 Add plugin-list-all to help.txt 2017-09-03 20:36:26 -05:00
Daniel Perez
78fbbaf584 Merge pull request #183 from doughsay/master
Use a git repository for installing plugins.
2017-07-26 18:49:15 +02:00
Fernando
1e9166e9bc Merge branch 'master' into which_command 2017-05-15 15:40:42 -03:00
Chris Dosé
20cdbfe701
Use a git repository for installing plugins. 2017-03-26 16:44:22 -07:00
Trevor Brown
893c39a0ee Add help for update command. 2017-03-17 13:07:30 -04:00
Fernando Crespo
fb4e263598 Initial support for which command 2017-03-14 10:56:59 -03:00
Kevin Rockwood
7517aa3abc Remove getter feature on local and global commands
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes #80
2016-07-25 09:44:53 +09:00
Kevin Rockwood
ca1273e7d4 Rename which to current (#79)
* Rename `asdf which` -> `asdf current`

* Output `set by $path` with current command

* Use dummy plugin in current_command test

* Hide "set by" message if derived from legacy file
2016-07-25 00:47:17 +09:00
Daniel Perez
784d7e9f34 Add support for local and global commands. 2016-04-25 02:13:09 +09:00
Trevor Brown
2a6e0c460a Add more details to the 'asdf install' command help. 2015-11-17 07:35:17 -05:00
Praveen Wicliff
e18943362c Changed help instructions. Command is uninstall not remove 2015-07-06 16:21:38 +05:30
Praveen Wicliff
7ae5473de0 Changed help instructions. Command is uninstall not remove 2015-07-06 16:19:37 +05:30
Akash Manohar J
8cc8bf1f4e Fix typo in help section 2015-06-14 18:55:55 +05:30
Kevin Disneur
c2fc8dd34e
Add a command to list the plugins already installed 2015-06-14 13:37:48 +01:00
Akash Manohar J
85f966ef07 Add doc for where command 2015-05-29 00:09:26 +05:30
Akash Manohar
b282ddaebc Add which command to help.txt 2015-05-27 12:51:32 +05:30
Akash Manohar J
7524633e47 Take up less vertical space for help command 2015-05-18 08:01:04 +05:30
Akash Manohar J
ba848df3e9 Update readme and help.txt manually to resolve conflicts 2015-05-18 06:55:35 +05:30
Akash Manohar J
451fd9422f Fix typo 2015-05-17 20:23:56 +05:30
Akash Manohar J
20256dcdc0 Change help 2015-05-08 11:31:20 +05:30
Akash Manohar J
cfea847163 Add help.txt 2015-05-08 11:28:55 +05:30
Akash Manohar J
dca70739f5 echo help text from file 2015-05-06 19:15:17 +05:30