File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 114114{{ 'gfm/sharp-scripts/10.md' | githubMarkdown | convertScriptToCodeBlocks }}
115115
116116{{#markdown}}
117- Which can be run with the `web ` tool:
117+ Which can be run with the `x ` tool:
118118
119119 $ dotnet tool install --global x
120120
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Like [Deno](https://deno.land/manual.html) all remote resources are cached after
4444version of the script (where it will still work in an airplane without an internet connection). This cache is maintained
4545under a ` .lisp ` folder at your configured Virtual Files provider (that can be deleted to clear any caches).
4646
47- For Sharp Scripts or Apps using the ` web ` or ` app ` dotnet tools it's stored in its own cache folder that can be cleared with:
47+ For Sharp Scripts or Apps using the ` x ` or ` app ` dotnet tools it's stored in its own cache folder that can be cleared with:
4848
4949 $ x --clean
5050
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ new ScriptContext {
235235}.Init ();
236236```
237237
238- This is enabled by default in the ` web ` and ` app ` dotnet tools so they can be used in ` #Script ` ** .ss** scripts.
238+ This is enabled by default in the ` x ` and ` app ` dotnet tools so they can be used in ` #Script ` ** .ss** scripts.
239239
240240Checkout [ GitHubScripts.cs] ( https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Common/Script/Methods/GitHubScripts.cs )
241241for the full API available. Here's [ GitHub's Gist API] ( https://developer.github.com/v3/gists/#example ) example of creating gists in ` #Script ` :
Original file line number Diff line number Diff line change 195195
196196### Run and watch Lisp Scripts
197197
198- The same [Sharp Scripts](/docs/sharp-scripts) functionality for `#Script` is also available to Lisp scripts where you can use the `web ` and `app`
198+ The same [Sharp Scripts](/docs/sharp-scripts) functionality for `#Script` is also available to Lisp scripts where you can use the `x ` and `app`
199199dotnet tools to **run** and **watch** stand-alone Lisp scripts with the `.l` file extension, e.g:
200200
201201 $ x run lisp.l
Original file line number Diff line number Diff line change 132132
133133We'll then configure [supervisord](http://supervisord.org/index.html) to further harden the .NET Core App process by having it run under a managed process,
134134by [creating a deploy User Account](https://sharpscript.net/docs/deploying-sharp-apps#setup-the-deploy-user-account) and giving it
135- permission to run the `supervisorctl` and `web ` programs, then change directory to:
135+ permission to run the `supervisorctl` and `x ` programs, then change directory to:
136136
137137 $ cd /etc/supervisor/conf.d
138138
Original file line number Diff line number Diff line change 100100
101101 $ x open redis
102102
103- > Every `app` command is substitutable with `web ` to run it within your preferred browser in Windows, macOS or Linux
103+ > Every `app` command is substitutable with `x ` to run it within your preferred browser in Windows, macOS or Linux
104104
105105### Always Up-To-Date
106106
212212 $ app open spirals
213213
214214Spirals in an example of a minimally useful App to explore and generate different spirals with SVG that showcases the productivity and
215- live Development experience of Sharp Apps where you can create an App from scratch with just a text editor and the `web ` tool, without
215+ live Development experience of Sharp Apps where you can create an App from scratch with just a text editor and the `x ` tool, without
216216a single re-compile or app restart:
217217
218218< iframe width ="896 " height ="525 " src ="https://www.youtube.com/embed/Cf-vstYXrmY " frameborder ="0 " allow ="autoplay; encrypted-media " allowfullscreen > </ iframe >
You can’t perform that action at this time.
0 commit comments