summaryrefslogtreecommitdiff
path: root/docs/guide/typescript/cli-app.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guide/typescript/cli-app.md')
-rw-r--r--docs/guide/typescript/cli-app.md20
1 files changed, 1 insertions, 19 deletions
diff --git a/docs/guide/typescript/cli-app.md b/docs/guide/typescript/cli-app.md
index 85b117c..9217acc 100644
--- a/docs/guide/typescript/cli-app.md
+++ b/docs/guide/typescript/cli-app.md
@@ -6,7 +6,6 @@ Depending on gtk version import paths will differ
```ts
import { App } from "astal/gtk3"
-
import { App } from "astal/gtk4"
```
@@ -53,20 +52,11 @@ App.start({
})
```
-:::code-group
-
-```sh [astal]
+```sh
astal say hi
# hi cli
```
-```sh [ags]
-ags request "say hi"
-# hi cli
-```
-
-:::
-
If you want to run arbitrary JavaScript from CLI, you can use `App.eval`
which will evaluate the passed string as the body of an `async` function.
@@ -128,18 +118,10 @@ When assigning the `application` prop make sure `name` comes before.
Props are set sequentially and if name is applied after application it won't work.
:::
-:::code-group
-
```sh [astal]
astal -t Bar
```
-```sh [ags]
-ags toggle Bar
-```
-
-:::
-
## Bundled scripts
The produced scripts when bundling can run as the main instance