Skip to content

Commit

Permalink
docs: update liara-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Nov 30, 2024
1 parent 24d3a2f commit 6e15cd9
Show file tree
Hide file tree
Showing 37 changed files with 1,622 additions and 42 deletions.
52 changes: 52 additions & 0 deletions public/casts/create-db-using-cli.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{"version": 2, "width": 202, "height": 11, "timestamp": 1732958619, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}}
[0.103517, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
[0.212629, "o", "l"]
[0.469427, "o", "i"]
[0.502613, "o", "a"]
[0.557883, "o", "r"]
[0.58557, "o", "a"]
[0.6785, "o", " "]
[0.821438, "o", "d"]
[0.972393, "o", "b"]
[1.043263, "o", " "]
[1.212521, "o", "c"]
[1.323908, "o", "r"]
[1.405055, "o", "e"]
[1.599732, "o", "a"]
[1.933169, "o", "t"]
[1.977589, "o", "e"]
[2.110268, "o", " "]
[2.437412, "o", "-"]
[2.558041, "o", "n"]
[2.593766, "o", " "]
[2.827981, "o", "m"]
[2.936014, "o", "y"]
[3.257057, "o", "-"]
[3.353068, "o", "d"]
[3.42183, "o", "b"]
[3.755656, "o", " "]
[4.088937, "o", "\u001b[7m--plan=small-g2\u001b[27m"]
[4.42261, "o", "\u0007\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b--plan=small-g2"]
[4.527498, "o", " "]
[4.861052, "o", "\u001b[7m--public-network\u001b[27m"]
[5.08483, "o", "\u0007\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b--public-network"]
[5.172771, "o", " "]
[5.506402, "o", "\u001b[7m-t mysql\u001b[27m"]
[5.742542, "o", "\u0007\b\b\b\b\b\b\b\b-t mysql"]
[5.830422, "o", " "]
[6.16397, "o", "\u001b[7m-v 8.0.30\u001b[27m"]
[6.418302, "o", "\u0007\b\b\b\b\b\b\b\b\b-v 8.0.30"]
[6.495039, "o", " "]
[6.828662, "o", "\u001b[7m--feature-plan=basic\u001b[27m"]
[7.050799, "o", "\u0007\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b--feature-plan=basic"]
[7.123735, "o", " "]
[7.457561, "o", "-"]
[7.601443, "o", "y"]
[7.636456, "o", " "]
[7.969529, "o", "\u001b[7m--network=liara-net\u001b[27m"]
[8.192249, "o", "\u0007"]
[8.192302, "o", "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b--network=liara-net"]
[8.370368, "o", "\r\n\u001b[?2004l\r"]
[8.703475, "o", "Database Specification\r\n=================================================\r\n\u001b[1m| Hostname Type Version Network Public network \u001b[22m\r\n\u001b[1m| ──────── ───── ─────── ───────── ────────────── \u001b[22m\r\n| my-db mysql 8.0.30 liara-net true \r\n"]
[9.037697, "o", "Database my-db created.\r\n"]

16 changes: 16 additions & 0 deletions public/casts/list-dbs-using-cli.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{"version": 2, "width": 202, "height": 13, "timestamp": 1732961169, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}}
[0.10398, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
[0.318653, "o", "l"]
[0.387123, "o", "i"]
[0.413727, "o", "a"]
[0.459649, "o", "r"]
[0.481918, "o", "a"]
[0.536207, "o", " "]
[0.642329, "o", "d"]
[0.679791, "o", "b"]
[0.740007, "o", " "]
[1.015932, "o", "l"]
[1.034678, "o", "s"]
[1.199929, "o", "\r\n\u001b[?2004l\r"]
[1.533796, "o", "\u001b[1m Name Type Plan Feature plan Scale Status Created at \u001b[22m\r\n\u001b[1m ────────── ─────── ──────────────── ──────────── ───── ────── ────────── \u001b[22m\r\n my-redis redis free free \u001b[32mON\u001b[39m OK 1403-9-10 \r\n my-mssql mssql standard-base-g2 standard \u001b[32mON\u001b[39m OK 1403-9-10 \r\n my-mariadb mariadb medium-g2 standard \u001b[32mON\u001b[39m OK 1403-9-10 \r\n"]
[1.539662, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
29 changes: 29 additions & 0 deletions public/casts/remove-database-using-cli.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{"version": 2, "width": 202, "height": 29, "timestamp": 1732959927, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}}
[0.107025, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
[0.336722, "o", "l"]
[0.4041, "o", "i"]
[0.443821, "o", "a"]
[0.49702, "o", "r"]
[0.518274, "o", "a"]
[0.60764, "o", " "]
[0.747696, "o", "d"]
[0.776998, "o", "b"]
[0.841836, "o", " "]
[0.99114, "o", "r"]
[1.034609, "o", "m"]
[1.098167, "o", " "]
[1.331179, "o", "-"]
[1.452187, "o", "n"]
[1.471889, "o", " "]
[1.761521, "o", "m"]
[1.8518, "o", "y"]
[1.982614, "o", "-"]
[2.001171, "o", "d"]
[2.218236, "o", "b"]
[2.439197, "o", " "]
[2.524273, "o", "-"]
[2.623571, "o", "y"]
[2.821682, "o", "\r\n\u001b[?2004l\r"]
[3.119989, "o", "Database Specification\r\n========================\r\n\u001b[1m| Hostname Type Status \u001b[22m\r\n\u001b[1m| ──────── ───── ─────── \u001b[22m\r\n| my-db mysql RUNNING \r\n"]
[3.298017, "o", "Database my-db removed.\r\n"]
[3.306649, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
37 changes: 37 additions & 0 deletions public/casts/resize-db-uisng-cli.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{"version": 2, "width": 202, "height": 13, "timestamp": 1732963899, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}}
[0.118432, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
[0.333527, "o", "l"]
[0.419084, "o", "i"]
[0.459018, "o", "a"]
[0.504979, "o", "r"]
[0.528548, "o", "a"]
[0.595429, "o", " "]
[0.644081, "o", "d"]
[0.724116, "o", "b"]
[0.950393, "o", " "]
[1.014929, "o", "r"]
[1.075656, "o", "e"]
[1.170114, "o", "s"]
[1.238628, "o", "i"]
[1.28425, "o", "z"]
[1.396587, "o", "e"]
[1.437038, "o", " "]
[1.77091, "o", "-"]
[1.95523, "o", "n"]
[2.02345, "o", " "]
[2.090029, "o", "m"]
[2.280793, "o", "y"]
[2.475785, "o", "-"]
[2.518462, "o", "d"]
[2.573707, "o", "b"]
[2.629854, "o", " "]
[2.962973, "o", "\u001b[7m--plan pro-g2\u001b[27m"]
[3.245724, "o", "\u0007\b\b\b\b\b\b\b\b\b\b\b\b\b--plan pro-g2"]
[3.371899, "o", " "]
[3.704949, "o", "-"]
[3.780335, "o", "d"]
[3.841421, "o", " "]
[3.991676, "o", "n"]
[4.190393, "o", "\r\n\u001b[?2004l\r"]
[4.524363, "o", "Database my-db changed to plan pro-g2.\r\n"]
[4.534278, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "]
Loading

0 comments on commit 6e15cd9

Please sign in to comment.