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

Add support for scripting #10

Open
hal7df opened this issue Nov 5, 2016 · 0 comments
Open

Add support for scripting #10

hal7df opened this issue Nov 5, 2016 · 0 comments

Comments

@hal7df
Copy link
Owner

hal7df commented Nov 5, 2016

Add the ability to run commands from a script file (much like bash scripts).

iash scripts must have one of the following two lines at the start of the file:

  • #!iash
  • #!iash@appname

The first case, a generic script, will be accepted by any program that uses iash, although in the future this should be disabled by default (allowing the client to reenable it if they wish). The second case is a specific script, which iash will only run if appname is the currently configured application name.

Comments should have the same syntax as bash, with a # character commenting an entire line (this should also be supported in the interactive shell as well)

@hal7df hal7df added this to the Confirmed milestone Nov 5, 2016
@hal7df hal7df modified the milestones: Confirmed, v0.5.0 Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant