Contributions are highly welcome!
This repository contains Windows command line auto-completion functions to be used with chrisant996's awesome clink fork.
The completions are programmed in the strictly typed programming language Haxe and transpiled to Lua.
Currently completions for the following commands are available:
- Act.hx for
act
command - nektos/act local GitHub actions runner. - Curl.hx for
curl
command - cURL HTTP command line client - Dart.hx for
dart
command - Dart compiler - Docker.hx for
docker
command - Docker command line client - DockerMachine.hx for
docker-machine
command - Docker Machine command line client - Haxe.hx for
haxe
command - Haxe compiler - Java.hx for
java
command - Java runtime - JavaC.hx for
javac
command - Java compiler - Lua.hx for
lua
command - Lua interpreter - Maven.hx for
mvn
command - Apache Maven build tool - OpenSSL.hx for
openssl
command - OpenSSL command line tool
You need other completions? Try https://github.com/vladimir-kotikov/clink-completions
You want to create your own completions ...
- using Lua? Read https://chrisant996.github.io/clink/clink.html#extending-clink
- using Haxe? Use https://github.com/vegardit/haxe-clink-externs
Install clink according to https://chrisant996.github.io/clink/clink.html#usage, e.g.
- Open a Windows command prompt
- Download and install the latest clink release from https://github.com/chrisant996/clink/releases
- Load clink using
[CLINK_INSTALL_DIR]\clink.bat inject
-
Using git
- Open a Windows command prompt
- Git clone the v2-releases branch, .e.g
git clone https://github.com/sebthom/more-clink-completions --branch v2-releases --single-branch [REPO_PATH]
- Run
clink installscripts "[REPO_PATH]" to load the auto-completion scripts
-
Using curl or manual download
- Open a Windows command prompt
- Download the latest version of more-clink-completions.lua,
via the Browser or via the command line e.g.
curl -o "[DOWNLOAD_DIR]\more-clink-completions.lua" https://github.com/sebthom/more-clink-completions/releases/download/latest-v2/more-clink-completions.lua
- Register the completions with clink using
clink installscripts "[DOWNLOAD_DIR]"
All files are released under the MIT License.
Individual files contain the following tag instead of the full license text:
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX License Identifiers that are available here: https://spdx.org/licenses/.
An exception is made for:
- files in readable text which contain their own license information, or
- files in a directory containing a separate
LICENSE.txt
file, or - files where an accompanying file exists in the same directory with a
.LICENSE.txt
suffix added to the base-name of the original file. For examplefoobar.js
is may be accompanied by afoobar.LICENSE.txt
license file.