Command line installer help framework.
The installation can be performed according to the installation configuration,
and you can also quickly generate custom installation tools based on pipeline
and stage
.
go get -u github.com/zc2638/aide
Supported prompt types:
- Input
- Password
- Text
- Confirm
- Select
- MultiSelect
Download from Releases
curl https://raw.githubusercontent.com/zc2638/aide/main/install.sh | bash
curl https://ghproxy.com/raw.githubusercontent.com/zc2638/aide/main/install.sh | bash
go install github.com/zc2638/aide/cmd/aide@latest
You can define your own pipeline configuration.
pipeline.yaml
apiVersion: v1
kind: Pipeline
metadata:
name: test
label:
project: aide
version: v1
spec:
prompts:
- name: custom_name
type: Input
message: What's your name?
- name: gender
type: Select
message: What's your gender?
enum: [ "male", "female", "unknown" ]
steps:
- name: "step1"
render:
src: examples/file/test.in
dest: testdata/test.out
- command: env
- command: echo $custom_name\($gender\)
aide apply -f pipeline.yaml