Victor Hugo Borja
32ec26d316
Fix fish ppa for ubuntu
2019-11-29 10:18:49 -06:00
Victor Hugo Borja
b8dc5f1604
Run shfmt on bash files
2019-11-29 10:15:38 -06:00
Victor Hugo Borja
ab63d72c1b
Test using github actions
2019-11-29 10:07:41 -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 Borja
ced617fd64
Update core-commands.md
2019-11-27 12:41:14 -06:00
Victor Borja
4eede63b53
Merge pull request #601 from asdf-vm/commands
...
Subcommand CLI support.
2019-11-27 12:39:31 -06:00
Victor Hugo Borja
1be6614aa7
Add shellcheck source comments
2019-11-27 12:29:04 -06:00
Victor Hugo Borja
83dc1712e3
Change to test HOME on test setup
2019-11-27 12:25:34 -06:00
Victor Hugo Borja
367886e47d
Update example commands to not use hypen and use subcommand CLI.
2019-11-27 12:25:34 -06:00
Victor Hugo Borja
64d7cac9fd
Update documentation
2019-11-27 12:18:00 -06:00
Victor Hugo Borja
e968fe6142
Subcommand-aware command line interface.
2019-11-27 12:17:17 -06:00
Victor Borja
832a868a0c
Merge pull request #600 from asdf-vm/plugin-test-use-latest
...
Make `asdf plugin test` determine plugin version with `asdf latest`
2019-11-26 22:35:27 -06:00
Victor Hugo Borja
4939e24c90
Make asdf plugin test
determine plugin version with asdf latest
...
Fixes #541
2019-11-26 22:23:27 -06:00
Victor Borja
6fa01a6d29
Merge pull request #599 from asdf-vm/show-git-revision
...
`asdf --version` shows git-revision when asdf_dir is a git clone.
2019-11-26 22:18:10 -06:00
Victor Hugo Borja
2ea3d2017f
asdf --version
shows git-revision when asdf_dir is a git clone.
...
This will help people running on asdf master be able to report
issues and maintainers can know the precise git commit where the
error was reported.
See #589
2019-11-26 22:08:45 -06:00
Victor Hugo Borja
e72a92d1ef
Remove outdated doc about shims metadata.
2019-11-25 14:39:56 -06:00
Victor Borja
4279549530
Merge pull request #583 from android10/master
...
asdf_data_dir() returning incorrect path when running as root.
2019-11-25 12:23:17 -06:00
Victor Hugo Borja
3dd35958dd
Handle help command and no args given
2019-11-25 12:21:37 -06:00
Victor Hugo Borja
806ea4b16f
Add .editorconfig file.
2019-11-25 12:08:31 -06:00
Victor Hugo Borja
70099027c2
Move plugin extension command into it's own file.
...
Add a test for calling default command with arguments.
2019-11-25 12:07:55 -06:00
Victor Hugo Borja
a22733f819
Resolve asdf PLUGIN_NAME
default command.
...
When calling `asdf foo` and the `foo` plugin provides a `bin/default-command`
2019-11-25 02:47:55 -06:00
Victor Borja
3557fdce5f
Merge pull request #597 from asdf-vm/extension-commands
...
New feature: asdf extension commands
2019-11-25 02:34:13 -06:00
Victor Hugo Borja
0e8e1f8f84
New feature: asdf extension commands
...
It's possible for plugins to define new asdf commands. This way plugins can extend asdf capabilities or expose utilities related to their managed tool.
For example, a `foo` plugin might expose the command `asdf foo bar` by providing an executable file at `bin/bar`.
If `bin/bar` is a file but has no executable bit set, then its considered a source-able bash script, and will be sourced
with all the functions in `$ASDF_DIR/lib/utils.sh` already loaded.
A good example of this feature is the `nodejs` plugin, where people must import the release team keyring before
installing a nodejs version. People can execute the following command without having to know where exactly is the plugin located.
2019-11-25 02:24:46 -06:00
Victor Borja
fd3469ab60
Merge pull request #575 from klane/install-latest
...
Add support for installing the latest stable version of a tool
2019-11-22 14:18:46 -06:00
Kevin Lane
a3319235f8
Update CHANGELOG with contributions from #575
2019-11-22 11:34:25 -08:00
Kevin Lane
9fd7b83973
Add credit to xxenv-latest in comments
2019-11-22 10:37:53 -08:00
Kevin Lane
c11409583f
Add unit tests for managing latest stable versions
2019-11-22 10:37:53 -08:00
Kevin Lane
62ef77670d
Fix fish completion to say latest returns a stable version
2019-11-22 10:37:53 -08:00
Kevin Lane
48c53f24bd
Add documentation in core commands for managing latest stable versions
2019-11-22 10:37:53 -08:00
Kevin Lane
d2324e36e7
Fix shellcheck errors
2019-11-22 10:37:53 -08:00
Kevin Lane
301cd3db3f
Add support for installing the latest stable version of a tool
2019-11-22 10:37:53 -08:00
Kevin Lane
36ba38d921
Add asdf latest
command to show latest stable version of a tool
2019-11-22 10:37:52 -08:00
Kevin Lane
292d5951bd
Add ability to show available versions that begin with a given string
2019-11-22 10:37:46 -08:00
Daniel Perez
43d93bdb50
Merge pull request #595 from jmaroeder/patch-1
...
Fix completion suggestions for OSX / fish
2019-11-18 23:11:38 +00:00
Trevor Brown
345c545f4e
Merge pull request #592 from asdf-vm/Stratus3D-patch-1
...
Add AppVeyor badge to readme
2019-11-18 08:36:15 -05:00
James Roeder
ac0cd0f4d0
Fix completion for OSX/Fish
...
OSX `sed` is not GNU `sed`, and doesn't support the `\s` whitespace character sequence. This results in autocompletion suggestions including leading spaces, e.g.,
```
$ asdf local python \ \ 3.8.0
```
Using the POSIX compliant `[[:space:]]` sequence is more compatible, and removes the unnecessary spaces on OSX.
2019-11-13 12:22:08 -05:00
Trevor Brown
c3ad7e0357
Update version to 0.7.5
2019-11-04 19:42:50 -05:00
Trevor Brown
a600925736
Prepare for 0.7.5 version
2019-11-04 19:41:50 -05:00
Trevor Brown
e832c150d2
Add AppVeyor badge to readme
2019-11-02 15:11:20 -04:00
Trevor Brown
0bc07ddfbb
Merge pull request #451 from abhishalya/appveyorCI
...
appveyor.yml: Add support for Windows
2019-11-02 10:31:05 -04:00
Trevor Brown
d1f36f2f87
Merge pull request #591 from asdf-vm/fix-sed-for-paths
...
Fix sed command so it handles paths correctly
Fixes #559
2019-10-31 11:57:10 -04:00
Trevor Brown
1580310064
Fix sed command so it handles paths correctly
...
Fixes #559
2019-10-31 10:56:41 -04:00
Victor Borja
e6909fa3cc
Mention asdf-direnv on shims section.
...
Many users might want not to use shims and would prefer the asdf environment be automatically set for them when entering the project directory. Add a link to asdf-direnv plugin README for more details on how to integrate asdf with direnv to achieve this.
2019-10-27 11:29:09 -06:00
Trevor Brown
0ce0ff6de1
Merge pull request #589 from asdf-vm/handle-dashes-in-executable-names
...
Handle dashes in executable names properly
2019-10-24 15:00:15 -04:00
Trevor Brown
72e876b0ae
Handle dashes in executable names properly
2019-10-24 12:05:44 -04:00
Trevor Brown
8594f7ab3f
Merge pull request #585 from asdf-vm/fix-multiple-version-install
...
Fix multiple version install
2019-10-23 08:53:54 -04:00
Fernando Cejas
ded3a41808
Simplify whether asdf is running with privileges.
2019-10-23 14:31:43 +02:00
Fernando Cejas
598503ef74
Fix constant expression.
2019-10-23 13:36:58 +02:00
Fernando Cejas
fc1c586ca6
Add a method to detect whether asdf runs with privileges.
2019-10-23 13:26:33 +02:00