@@ -25,7 +25,7 @@ pipe( $.xdg.temp, s.mkdir )("foo bar");
2525Open ‘▸’ sections for quick overview and/or navigate to link(s) for more detailed
2626information and documentation.
2727
28- <!-- #region --> <details > <summary ><a href =" ./docs/modules/s .md " >s #shelljs</a > namespace <em >(unix shell-like commands in JavaScript)</em ></summary >
28+ <!-- #region --> <details > <summary ><a href =" ./docs/namespaces/s/README .md " >s #shelljs</a > namespace <em >(unix shell-like commands in JavaScript)</em ></summary >
2929
3030``` js
3131s .ls ().forEach (echo); // ShellArray
@@ -41,7 +41,7 @@ and some additional added by nodejsscript. Typically `s.cat`/`s.grep`/…,
4141to run other than builtin commands use ` s.run ` /` s.runA ` .
4242
4343These functions returns ` ShellArray ` /` ShellString ` /` Promise<ShellString> ` ,
44- these types are union types of ` string[] ` /` string ` with [ ` ShellReturnValueNJS ` ] ( ./docs/interfaces/s. ShellReturnValueNJS.md ) .
44+ these types are union types of ` string[] ` /` string ` with [ ` ShellReturnValueNJS ` ] ( ./docs/namespaces/s/interfaces/ ShellReturnValueNJS.md ) .
4545In simple terms, you can use it as ` string[] ` /` string ` /` Promise<string> ` or
4646read the commad exit ` code ` and ` stdout ` /` stderr ` . If it makes sence, you can
4747pipe output to other shelljs commands. Special pipeing is ` to ` /` toEnd ` for
@@ -53,9 +53,9 @@ s.echo("Hello World!").to("hello.txt");
5353
5454<!-- #endregion -->
5555</details >
56- <!-- #region --> <details > <summary ><a href =" ./docs/modules/ .md " >$</a > (
57- <a href="./docs/modules/ .md#api ">$.api() #sade</a>,
58- <a href="./docs/modules/xdg_. xdg.md">$.xdg</a>,
56+ <!-- #region --> <details > <summary ><a href =" ./docs/namespaces/$/README .md " >$</a > (
57+ <a href="./docs/namespaces/$/functions/api .md">$.api() #sade</a>,
58+ <a href="./docs/namespaces/ xdg/namespaces/xdg/README .md">$.xdg</a>,
5959 …
6060 )
6161 namespace <em>(nodejsscript/cli related functions/variables)</em></summary>
@@ -93,11 +93,11 @@ $.api()
9393 (home, temp, config, … directory)
9494- ` $.stdin ` : handles standard input when the script is run in shell pipe (can be
9595 helpful for ` nodejsscript --eval ` /` nodejsscript --print ` bellow)
96- - …for more see [ related section in docs] ( ./docs/modules/ .md )
96+ - …for more see [ related section in docs] ( ./docs/namespaces/$/README .md )
9797
9898<!-- #endregion -->
9999</details >
100- <!-- #region --> <details > <summary ><a href =" ./docs/README .md#echo " >echo() #css-in-console</a > function/namespace</summary >
100+ <!-- #region --> <details > <summary ><a href =" ./docs/functions/echo .md " >echo() #css-in-console</a > function/namespace</summary >
101101
102102``` js
103103const css = echo .css `
@@ -118,7 +118,7 @@ echo("%cDone", css.success);
118118
119119<!-- #endregion -->
120120</details >
121- <!-- #region --> <details > <summary ><a href =" ./docs/README .md#pipe " >pipe()</a > function</summary >
121+ <!-- #region --> <details > <summary ><a href =" ./docs/functions/pipe .md " >pipe()</a > function</summary >
122122
123123``` js
124124pipe (
0 commit comments