-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41241 from gayaldassanayake/tool-u8-compat
Update help texts and make update 7 bal-tools.toml compatible with update 8
- Loading branch information
Showing
12 changed files
with
140 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 18 additions & 19 deletions
37
cli/ballerina-cli/src/main/resources/cli-help/ballerina-tool.help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,55 @@ | ||
NAME | ||
ballerina-tool - Manage the tools provided by Ballerina | ||
ballerina-tool - Extend the Ballerina CLI with custom commands. | ||
|
||
SYNOPSIS | ||
bal tool <command> [<-h> |<--help>] | ||
bal tool <command> [args] | ||
|
||
DESCRIPTION | ||
Manage Ballerina command line tools via bal tool chain. | ||
Register and manage custom commands for the Ballerina CLI. | ||
|
||
Facilitate pulling tools from Ballerina Central and removing | ||
previously pulled tools. | ||
This command facilitates searching, pulling, and updating tools from the | ||
Ballerina Central, switching between installed versions, and listing and | ||
removing installed tools. | ||
|
||
Provide subcommands to list all the locally available tools and search | ||
for tools that are available in Ballerina Central. | ||
|
||
OPTIONS | ||
-h, --help | ||
Print the usage details of all tool commands. | ||
|
||
TOOL COMMANDS | ||
SUBCOMMANDS | ||
The following is a list of available subcommands: | ||
|
||
pull Pull a tool from Ballerina Central. | ||
pull Pull a tool from the Ballerina Central. | ||
remove Remove a tool from the local environment. | ||
update Update a tool to the latest compatible version. | ||
update Update a tool to the latest version. | ||
use Set a tool version as the active version. | ||
list List all tools in the local environment. | ||
search Search Ballerina Central for tools. | ||
list List all tools available in the local environment. | ||
search Search the Ballerina Central for tools. | ||
|
||
EXAMPLES | ||
Pull a tool from Ballerina Central. | ||
Pull a tool from the Ballerina Central. | ||
$ bal tool pull health | ||
|
||
Pull a specific version of a tool from Ballerina Central. | ||
Pull a specific version of a tool from the Ballerina Central. | ||
$ bal tool pull health:1.0.0 | ||
|
||
Remove a specific version of previously pulled tool. | ||
Remove a specific version of an installed tool. | ||
$ bal tool remove health:1.0.0 | ||
|
||
Remove all the versions of a previously pulled tool. | ||
Remove all the versions of an installed tool. | ||
$ bal tool remove health | ||
|
||
Update a tool to the latest patch version. | ||
Update a tool to the latest version compatible with the current distribution. | ||
$ bal tool update health | ||
|
||
Change the active version of a tool. | ||
$ bal tool use health:1.0.0 | ||
|
||
List all tools available locally. | ||
List all tools available in the local environment. | ||
$ bal tool list | ||
|
||
Search Ballerina Central for tools. | ||
Search the Ballerina Central for tools. | ||
$ bal tool search health | ||
|
||
Use 'bal tool <command> --help' for more information on a specific command. | ||
Use 'bal tool <subcommand> --help' for more information on a specific tool subcommand. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.