Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Support download of run-command (rc) file. #4

Open
rduplain opened this issue Jan 19, 2020 · 1 comment
Open

Support download of run-command (rc) file. #4

rduplain opened this issue Jan 19, 2020 · 1 comment

Comments

@rduplain
Copy link
Owner

Broadly, qwerty.sh aims to allow vendoring of external files without checking them in. The previous issue introduces how rc files open up more use cases for qwerty.sh:

The run-command (rc) feature of qwerty.sh opens it up as a meta package manager, a tool that can package anything on the internet, especially with rc-file chaining (i.e. rc files that reference rc files) and proliferation of rc files with conditional execution of --arch, --sys, and --when.

... and rc files themselves become candidates for vendoring without checking in.

Currently, qwerty.sh does not support additional arguments with --rc. This opens up the possibility of --rc - indicating that qwerty.sh should use other arguments -- those which indicate what to download -- as files to pass into --rc.

Note that the Unix convention of - indicating standard input (stdin) is not readily supported by qwerty.sh because in its default configuration, the qwerty.sh script itself is passed on stdin. This fact makes it possible for --rc - to mean "that which qwerty.sh downloads" as a more abstracted interpretation of the - Unix file convention.

@rduplain
Copy link
Owner Author

--cd-on-rc and -o, --output would not be supported in --rc - mode, because qwerty.sh would need to download to a temporary directory when running rc files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant