Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL! should be allowed for script on command-line...and... other types? #5

Open
Siskin-Bot opened this issue Feb 15, 2020 · 0 comments

Comments

@Siskin-Bot
Copy link

Submitted by: fork

Currently the script name given on the command line must be a filename. It would be nice if a URL could be used instead.

    rebol http://reb4.me/something param1 param2 param3

The more general thought from this would be "you should be able to pass anything that DO would take", and have it replace the --do switch. This would run into contention in the general case if you tried the likes of:

     rebol "append/only system/options/args 1"

That could be a file called "args 1" under some directories. While forcing people to put % in front of their file names would be one answer, that's not an answer compatible with automatic command line completion.

So a way to think of requesting a DO of code behavior would be to still not have a --do switch but enclose the first argument in brackets or parens:

    rebol "[append/only system/options/args 1]"

Imported from: CureCode [ Version: r3 master Type: Wish Platform: All Category: Unspecified Reproduce: Always Fixed-in:none ]
Imported from: metaeducation/rebol-issues#2249

Comments:


Rebolbot added the Type.wish on Jan 12, 2016


@Oldes Oldes transferred this issue from Oldes/Rebol-issues Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant