Skip to content

Batch compatible install #20

@cardil

Description

@cardil

The install command should be batch-compatible. Currently, it asks ! Rename the binary?, which prevents automation, and batch usage.

One way to fix this may be a --rename (or --as) option for install command:

$ stew install knative-sandbox/kn-plugin-event --as kn-event
knative-sandbox/kn-plugin-event
⬇️  Downloading asset: 100% |██████████████████████████████████████████████████████████| (57/57 MB, 34.474 MB/s)        
✅ Downloaded kn-event-linux-amd64 to /home/ksuszyns/.local/share/stew/pkg
📄 Updated /home/ksuszyns/.local/share/stew/Stewfile.lock.json
✨ Successfully installed the kn-event binary in /home/ksuszyns/bin

Alternative, could be a format of the installation. For example:

$ stew install knative-sandbox/kn-plugin-event!kn-event

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions