diff --git a/public/casts/check-dns-status-using-cli.cast b/public/casts/check-dns-status-using-cli.cast new file mode 100644 index 00000000..032de3b5 --- /dev/null +++ b/public/casts/check-dns-status-using-cli.cast @@ -0,0 +1,40 @@ +{"version": 2, "width": 202, "height": 11, "timestamp": 1733034197, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} +[0.110803, "o", "\u001b[?2004h\u001b]0; \u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] +[0.363309, "o", "l"] +[0.437293, "o", "i"] +[0.472689, "o", "a"] +[0.513515, "o", "r"] +[0.545403, "o", "a"] +[0.599681, "o", " "] +[0.67603, "o", "z"] +[0.727789, "o", "o"] +[0.802307, "o", "n"] +[0.828256, "o", "e"] +[0.865349, "o", " "] +[0.942143, "o", "c"] +[0.987343, "o", "h"] +[1.070305, "o", " "] +[1.199749, "o", "\r\n\u001b[?2004l\r"] +[1.393708, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0m\u001b[16D\u001b[16C"] +[1.655818, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mn"] +[1.656171, "o", "\u001b[17D\u001b[17C"] +[1.696396, "o", "\u001b[2K\u001b[G"] +[1.696952, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mna\u001b[18D\u001b[18C"] +[1.73096, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnaj\u001b[19D\u001b[19C"] +[1.79763, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajm\u001b[20D\u001b[20C"] +[1.85611, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajma\u001b[21D\u001b[21C"] +[1.876376, "o", "\u001b[2K\u001b[G"] +[1.87674, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmab\u001b[22D\u001b[22C"] +[1.919588, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmaba"] +[1.920209, "o", "\u001b[23D\u001b[23C"] +[2.001863, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmabad\u001b[24D"] +[2.002594, "o", "\u001b[24C"] +[2.015235, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmabadi\u001b[25D\u001b[25C"] +[2.122916, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmabadi.\u001b[26D\u001b[26C"] +[2.224214, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmabadi.i\u001b[27D"] +[2.22514, "o", "\u001b[27C"] +[2.25331, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmabadi.ir\u001b[28D\u001b[28C"] +[2.363404, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mnajmabadi.ir\u001b[28D\u001b[28C"] +[2.363604, "o", "\r\n"] +[2.519287, "o", "Your request has been submitted.\r\n"] +[2.523759, "o", "\u001b[?2004h\u001b]0; \u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] diff --git a/public/casts/create-new-dns-for-domain.cast b/public/casts/create-new-dns-for-domain.cast new file mode 100644 index 00000000..a6989935 --- /dev/null +++ b/public/casts/create-new-dns-for-domain.cast @@ -0,0 +1,43 @@ +{"version": 2, "width": 202, "height": 11, "timestamp": 1733035767, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} +[0.103156, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] +[0.43724, "o", "l"] +[0.598227, "o", "i"] +[0.732383, "o", "a"] +[0.772591, "o", "r"] +[0.798186, "o", "a"] +[0.868628, "o", " "] +[0.947857, "o", "z"] +[0.993619, "o", "o"] +[1.083775, "o", "n"] +[1.126595, "o", "e"] +[1.173668, "o", " "] +[1.362249, "o", "c"] +[1.460723, "o", "r"] +[1.518778, "o", "e"] +[1.544851, "o", "a"] +[1.612223, "o", "t"] +[1.649583, "o", "e"] +[1.788169, "o", "\r\n\u001b[?2004l\r"] +[1.990963, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0m\u001b[16D"] +[1.991649, "o", "\u001b[16C"] +[2.246728, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0ma\u001b[17D\u001b[17C"] +[2.286397, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mal\u001b[18D\u001b[18C"] +[2.37243, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mali"] +[2.372903, "o", "\u001b[19D\u001b[19C"] +[2.484264, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malin\u001b[20D\u001b[20C"] +[2.52371, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malina\u001b[21D\u001b[21C"] +[2.551077, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinaj\u001b[22D\u001b[22C"] +[2.622014, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajm\u001b[23D\u001b[23C"] +[2.675682, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajma\u001b[24D\u001b[24C"] +[2.732961, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmab\u001b[25D\u001b[25C"] +[2.761246, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmaba\u001b[26D\u001b[26C"] +[2.850256, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabad\u001b[27D\u001b[27C"] +[2.875994, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi\u001b[28D\u001b[28C"] +[3.001952, "o", "\u001b[2K\u001b[G"] +[3.002246, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.\u001b[29D\u001b[29C"] +[3.106479, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.i\u001b[30D\u001b[30C"] +[3.131405, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.ir\u001b[31D\u001b[31C"] +[3.311921, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.ir\u001b[31D\u001b[31C"] +[3.312452, "o", "\r\n"] +[3.604998, "o", "Zone alinajmabadi.ir created.\r\n"] +[3.612876, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] diff --git a/public/casts/delete-dns-using-cli.cast b/public/casts/delete-dns-using-cli.cast new file mode 100644 index 00000000..ca8f083b --- /dev/null +++ b/public/casts/delete-dns-using-cli.cast @@ -0,0 +1,49 @@ +{"version": 2, "width": 202, "height": 11, "timestamp": 1733036298, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} +[0.109772, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] +[0.443726, "o", "l"] +[0.516447, "o", "i"] +[0.565243, "o", "a"] +[0.619117, "o", "r"] +[0.658898, "o", "a"] +[0.722861, "o", " "] +[0.877241, "o", "z"] +[0.917618, "o", "o"] +[1.029326, "o", "n"] +[1.084441, "o", "e"] +[1.122873, "o", " "] +[1.235218, "o", "r"] +[1.287367, "o", "m"] +[1.46929, "o", "\r\n\u001b[?2004l\r"] +[1.68867, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0m"] +[1.688854, "o", "\u001b[16D\u001b[16C"] +[2.022266, "o", "\u001b[2K\u001b[G"] +[2.02251, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0ma\u001b[17D\u001b[17C"] +[2.050436, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mal\u001b[18D\u001b[18C"] +[2.125316, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mali\u001b[19D\u001b[19C"] +[2.205185, "o", "\u001b[2K\u001b[G"] +[2.205559, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malin\u001b[20D\u001b[20C"] +[2.239684, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malina"] +[2.239826, "o", "\u001b[21D\u001b[21C"] +[2.272049, "o", "\u001b[2K\u001b[G"] +[2.272411, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinaj\u001b[22D\u001b[22C"] +[2.333716, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajm\u001b[23D"] +[2.333891, "o", "\u001b[23C"] +[2.383911, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajma\u001b[24D\u001b[24C"] +[2.421113, "o", "\u001b[2K\u001b[G"] +[2.421325, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmab\u001b[25D\u001b[25C"] +[2.454331, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmaba"] +[2.454526, "o", "\u001b[26D\u001b[26C"] +[2.538827, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabad\u001b[27D\u001b[27C"] +[2.565679, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi"] +[2.566068, "o", "\u001b[28D\u001b[28C"] +[2.684567, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.\u001b[29D\u001b[29C"] +[2.774645, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.i\u001b[30D"] +[2.774797, "o", "\u001b[30C"] +[2.80023, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.ir\u001b[31D\u001b[31C"] +[2.916147, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0malinajmabadi.ir\u001b[31D\u001b[31C\r\n"] +[2.916759, "o", "\u001b[32m?\u001b[39m \u001b[1mcontinue? (y/n):\u001b[22m\u001b[0m \u001b[0m\u001b[19D\u001b[19C"] +[3.250495, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mcontinue? (y/n):\u001b[22m\u001b[0m \u001b[0my"] +[3.250684, "o", "\u001b[20D\u001b[20C"] +[3.444288, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mcontinue? (y/n):\u001b[22m\u001b[0m \u001b[0my\u001b[20D\u001b[20C\r\n"] +[3.657446, "o", "zone deleted\r\n"] +[3.666545, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] diff --git a/public/casts/get-details-of-domain-using-cli.cast b/public/casts/get-details-of-domain-using-cli.cast new file mode 100644 index 00000000..c06f8051 --- /dev/null +++ b/public/casts/get-details-of-domain-using-cli.cast @@ -0,0 +1,34 @@ +{"version": 2, "width": 202, "height": 11, "timestamp": 1733036919, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} +[0.115237, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] +[0.366565, "o", "l"] +[0.526885, "o", "i"] +[0.555843, "o", "a"] +[0.889202, "o", "r"] +[0.912574, "o", "a"] +[1.009138, "o", " "] +[1.111048, "o", "z"] +[1.153512, "o", "o"] +[1.218994, "o", "n"] +[1.248373, "o", "e"] +[1.286679, "o", " "] +[1.402889, "o", "g"] +[1.425603, "o", "e"] +[1.628319, "o", "t"] +[1.812806, "o", "\r\n\u001b[?2004l\r"] +[1.99525, "o", "\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0m\u001b[16D"] +[1.995881, "o", "\u001b[16C"] +[2.308639, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0ml\u001b[17D"] +[2.309261, "o", "\u001b[17C"] +[2.380176, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mlo"] +[2.380504, "o", "\u001b[18D\u001b[18C"] +[2.427084, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mloo\u001b[19D\u001b[19C"] +[2.496957, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mloom\u001b[20D\u001b[20C"] +[2.548105, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mlooms\u001b[21D\u001b[21C"] +[2.656837, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mlooms.\u001b[22D\u001b[22C"] +[2.756738, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mlooms.i\u001b[23D\u001b[23C"] +[2.782011, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mlooms.ir\u001b[24D"] +[2.782572, "o", "\u001b[24C"] +[2.890582, "o", "\u001b[2K\u001b[G\u001b[32m?\u001b[39m \u001b[1mEnter domain:\u001b[22m\u001b[0m \u001b[0mlooms.ir\u001b[24D\u001b[24C\r\n"] +[3.027457, "o", "\u001b[1m Name Status Created at Lastcheck at Current name servers Name servers \u001b[22m\r\n\u001b[1m ──────── ────── ────────── ──────────── ──────────────────── ─────────────── \u001b[22m\r\n"] +[3.027956, "o", " looms.ir \u001b[32mACTIVE\u001b[39m 1403-6-17 13 hours ago ns2.liara.zone, ns1.liara.zone, \r\n ns1.liara.zone ns2.liara.zone \r\n"] +[3.033777, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] diff --git a/public/casts/list-domains-using-cli.cast b/public/casts/list-domains-using-cli.cast new file mode 100644 index 00000000..204c2dee --- /dev/null +++ b/public/casts/list-domains-using-cli.cast @@ -0,0 +1,21 @@ +{"version": 2, "width": 202, "height": 11, "timestamp": 1733037722, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} +[0.104985, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] +[0.235641, "o", "l"] +[0.297503, "o", "i"] +[0.329095, "o", "a"] +[0.411558, "o", "a"] +[0.599435, "o", "\b\u001b[K"] +[0.734137, "o", "r"] +[0.734656, "o", "a"] +[0.91264, "o", " "] +[1.025495, "o", "z"] +[1.049184, "o", "o"] +[1.149121, "o", "n"] +[1.246743, "o", "e"] +[1.271197, "o", " "] +[1.468945, "o", "l"] +[1.48983, "o", "s"] +[1.617949, "o", "\r\n\u001b[?2004l\r"] +[1.94936, "o", "\u001b[1m Name Status Created at Lastcheck at Current name servers Name servers \u001b[22m\r\n\u001b[1m ──────────────────── ─────── ────────── ───────────────── ─────────────────────── ─────────────── \u001b[22m\r\n alinajmabadizadeh.ir \u001b[90mPENDING\u001b[39m 1403-9-11 a few seconds ago olof.ns.cloudflare.com, ns1.liara.zone, \r\n tegan.ns.cloudflare.com ns2.liara.zone \r\n"] +[1.949961, "o", " alinajmabadi.ir \u001b[32mACTIVE\u001b[39m 1403-9-11 a few seconds ago ns1.liara.zone, ns1.liara.zone, \r\n ns2.liara.zone ns2.liara.zone \r\n najmabadi.ir \u001b[90mPENDING\u001b[39m 1403-9-11 a few seconds ago s.ns.arvancdn.ir, ns1.liara.zone, \r\n k.ns.arvancdn.ir ns2.liara.zone \r\n looms.ir \u001b[32mACTIVE\u001b[39m 1403-6-17 13 hours ago ns2.liara.zone, ns1.liara.zone, \r\n ns1.liara.zone ns2.liara.zone \r\n"] +[1.95466, "o", "\u001b[?2004h\u001b]0;\u0007\u001b[01;32m\u001b[00m\u001b[01;34m\u001b[00m$ "] diff --git a/src/components/Sidebar/data.js b/src/components/Sidebar/data.js index af7a8805..881f492b 100644 --- a/src/components/Sidebar/data.js +++ b/src/components/Sidebar/data.js @@ -8657,20 +8657,44 @@ export default { link: "/references/cli/login" }, { - title: "مدیریت دیسک‌ها", - link: "/references/cli/manage-disks" + title: "تکمیل خودکار دستورات", + link: "/references/cli/autocomplete" }, { - title: "مشاهده پلن‌های سرویس پلتفرم", + title: "مشاهده پلن‌ پلتفرم و دیتابیس", link: "/references/cli/see-platform-plans" }, { - title: "تکمیل خودکار دستورات", - link: "/references/cli/autocomplete" + hr: true + }, + { + badge: ( +
+ مدیریت حساب کاربری +
+ ) + }, + { + title: "اضافه کردن حساب کاربری جدید", + link: "/references/cli/add-account" + }, + { + title: "لیست حساب‌های کاربری ", + link: "/references/cli/list-accounts" + }, + { + title: "حذف یکی از حساب‌های کاربری", + link: "/references/cli/remove-account" + }, + { + title: "انتخاب حساب پیش‌فرض", + link: "/references/cli/choose-default-account" }, + { hr: true }, + { badge: (
@@ -8678,10 +8702,6 @@ export default {
) }, - { - title: "استقرار برنامه", - link: "/references/cli/deploy-app" - }, { title: "ایجاد یک برنامه", link: "/references/cli/create-app" @@ -8706,6 +8726,14 @@ export default { title: "اتصال به خط فرمان برنامه", link: "/references/cli/connect-to-app-shell" }, + { + title: "مدیریت دیسک‌ها", + link: "/references/cli/manage-disks" + }, + { + title: "استقرار برنامه", + link: "/references/cli/deploy-app" + }, { title: "روشن‌کردن برنامه", link: "/references/cli/start-app" @@ -8714,53 +8742,130 @@ export default { title: "خاموش‌کردن برنامه", link: "/references/cli/stop-app" }, + { + title: " لیست متغیرهای ثبت شده برنامه", + link: "/references/cli/list-envs" + }, + { + title: "ثبت یا ویرایش متغیرهای محیطی", + link: "/references/cli/add-or-edit-envs" + }, + { + title: "حذف متغیرهای محیطی برنامه", + link: "/references/cli/remove-env" + }, { hr: true }, { badge: (
- مدیریت متغیرهای محیطی + مدیریت دیتابیس‌ها
) }, { - title: " لیست متغیرهای ثبت شده برنامه", - link: "/references/cli/list-envs" + title: "ایجاد یک دیتابیس", + link: "/references/cli/create-db" }, { - title: "ثبت یا ویرایش متغیرهای محیطی", - link: "/references/cli/add-or-edit-envs" + title: "حذف یک دیتابیس", + link: "/references/cli/delete-db" }, { - title: "حذف متغیرهای محیطی یک برنامه", - link: "/references/cli/remove-env" + title: "لیست‌کردن دیتابیس‌ها", + link: "/references/cli/list-dbs" + }, + { + title: "تغییر اندازه دیتابیس", + link: "/references/cli/resize-db" + }, + { + title: "روشن‌کردن دیتابیس", + link: "/references/cli/start-db" + }, + { + title: "خاموش‌کردن دیتابیس", + link: "/references/cli/stop-db" }, + { hr: true }, + { badge: (
- مدیریت حساب‌های کاربری + مدیریت فضای ذخیره‌سازی ابری
) }, { - title: "اضافه کردن حساب کاربری جدید", - link: "/references/cli/add-account" + title: "ایجاد یک باکت", + link: "/references/cli/create-bucket" }, { - title: "لیست حساب‌های کاربری ", - link: "/references/cli/list-accounts" + title: "حذف یک باکت", + link: "/references/cli/delete-bucket" }, { - title: "حذف یکی از حساب‌های کاربری", - link: "/references/cli/remove-account" + title: "لیست‌کردن باکت‌ها", + link: "/references/cli/list-buckets" }, + { - title: "انتخاب حساب پیش‌فرض", - link: "/references/cli/choose-default-account" + hr: true + }, + { + badge: ( +
+ مدیریت ایمیل‌سرور +
+ ) + }, + + { + title: "ایجاد یک ایمیل‌سرور", + link: "/references/cli/create-email-server" + }, + { + title: "حذف یک ایمیل‌سرور", + link: "/references/cli/delete-email-server" + }, + { + title: "لیست‌کردن ایمیل‌سرور‌ها", + link: "/references/cli/list-email-servers" + }, + + { + hr: true + }, + { + badge: ( +
+ مدیریت DNS +
+ ) + }, + { + title: "اضافه‌کردن دامنه جدید", + link: "/references/cli/create-domain" + }, + { + title: "حذف یک دامنه", + link: "/references/cli/delete-domain" + }, + { + title: "بررسی وضعیت یک دامنه", + link: "/references/cli/check-domain-status" + }, + { + title: "مشاهده جزئیات یک دامنه", + link: "/references/cli/get-domain-details" + }, + { + title: "لیست کردن تمام دامنه‌ها", + link: "/references/cli/list-domains" }, ], diff --git a/src/pages/references/cli/about.mdx b/src/pages/references/cli/about.mdx index d2624b50..37ca09e1 100644 --- a/src/pages/references/cli/about.mdx +++ b/src/pages/references/cli/about.mdx @@ -38,7 +38,7 @@ import Head from "next/head";
-
+
{[ { title: "نصب و به‌روزرسانی", @@ -274,20 +274,28 @@ import Head from "next/head";
-{/*
+
{[ { - title: "ایجاد یک ایمیل‌سرور", - link: "/references/cli/create-email-server" + title: "اضافه‌کردن دامنه جدید", + link: "/references/cli/create-domain" }, { - title: "حذف یک ایمیل‌سرور", - link: "/references/cli/delete-email-server" + title: "حذف یک دامنه", + link: "/references/cli/delete-domain" }, { - title: "لیست‌کردن ایمیل‌سرور‌ها", - link: "/references/cli/list-email-servers" + title: "بررسی وضعیت یک دامنه", + link: "/references/cli/check-domain-status" + }, + { + title: "مشاهده جزئیات یک دامنه", + link: "/references/cli/get-domain-details" + }, + { + title: "لیست کردن تمام دامنه‌ها", + link: "/references/cli/list-domains" }, ].map(item => @@ -304,6 +312,6 @@ import Head from "next/head";
-
*/} +
\ No newline at end of file diff --git a/src/pages/references/cli/check-domain-status.mdx b/src/pages/references/cli/check-domain-status.mdx new file mode 100644 index 00000000..396b4229 --- /dev/null +++ b/src/pages/references/cli/check-domain-status.mdx @@ -0,0 +1,89 @@ +import Layout from "@/components/Layout"; +import Button from "@/components/Common/button"; +import Section from "@/components/Common/section"; +import Alert from "@/components/Common/alert"; +import Tabs from "@/components/Common/tab"; +import Step from "@/components/Common/step"; +import Card from "@/components/Common/card"; +import Important from "@/components/Common/important"; +import Highlight from "@/components/Common/highlight"; +import Link from "next/link"; +import NextPage from "@/components/Common/nextpage"; +import Asciinema from "@/components/Common/asciinema"; +import Table from "@/components/Common/table"; + +import Head from "next/head"; + + + +مستندات بررسی وضعیت یک دامنه با Liara CLI - لیارا + + + + +# بررسی وضعیت دامنه با Liara CLI +
+ +برای +بررسی وضعیت یک دامنه و اطمینان از اینکه NSهای لیارا، به درستی در سرویسی که دامنه را از آن تهیه کرده‌اید؛ تنظیم شده‌اند یا خیر، با Liara CLI، +می‌توانید از دستور زیر، استفاده کنید: + +
+
+ +{`liara zone ch # or liara zone check`} + +
+
+ + + +
+ +دستور liara zone check یا liara zone ch، پارامترهای زیر را، می‌پذیرد: + +
+
+ +{`liara zone ch [-h] [--debug] [--api-token ] [--account ] +[-z ]`} + +
+ +h- یا help--, + "نمایش راهنما", + liara zone ch -h, + ], + [ + account--, + "برای تغییر موقتی حساب کاربری ", + liara zone ch --account john_doe, + ], + [ + api-token--, +
+

برای اجرای آنی عملیات بررسی zone به کمک api token (مناسب ci/cd)

+
, + ****=liara zone ch --api-token, + ], + [ + debug--, + "برای نمایش لاگ‌های دیباگ", + liara zone ch --debug, + ], + [ + z- یا zone--, + "برای درج نام دامنه", + liara zone ch -z looms.ir, + ], + +]} /> +
+ + \ No newline at end of file diff --git a/src/pages/references/cli/create-domain.mdx b/src/pages/references/cli/create-domain.mdx new file mode 100644 index 00000000..9e706a21 --- /dev/null +++ b/src/pages/references/cli/create-domain.mdx @@ -0,0 +1,87 @@ +import Layout from "@/components/Layout"; +import Button from "@/components/Common/button"; +import Section from "@/components/Common/section"; +import Alert from "@/components/Common/alert"; +import Tabs from "@/components/Common/tab"; +import Step from "@/components/Common/step"; +import Card from "@/components/Common/card"; +import Important from "@/components/Common/important"; +import Highlight from "@/components/Common/highlight"; +import Link from "next/link"; +import NextPage from "@/components/Common/nextpage"; +import Asciinema from "@/components/Common/asciinema"; +import Table from "@/components/Common/table"; + +import Head from "next/head"; + + + +مستندات ساخت و ایجاد سامانه مدیریت دامنه با Liara CLI - لیارا + + + + +# ایجاد سامانه مدیریت دامنه با Liara CLI +
+ +برای +ایجاد سامانه مدیریت برای دامنه مدنظرتان با Liara CLI، +می‌توانید از دستور زیر، استفاده کنید: + +
+
+ +{`liara zone create`} + +
+
+ + + +
+دستور liara zone create، پارامترهای زیر را، می‌پذیرد: + +
+
+ +{`liara zone create [-h] [--debug] [--api-token ] [--account ] [-z + ]`} + +
+ +
h- یا help--, + "نمایش راهنما", + liara zone create -h, + ], + [ + debug--, + "برای نمایش لاگ‌های دیباگ", + liara zone create --debug, + ], + [ + api-token--, +
+

برای اجرای آنی عملیات ساخت سامانه مدیریت دامنه به کمک api token (مناسب ci/cd)

+
, + ****=liara zone create --api-token, + ], + [ + account--, + "برای تغییر موقتی حساب کاربری ", + liara zone create --account john_doe, + ], + [ + z- یا zone--, + "برای درج آدرس دامنه‌ای که قصد ایجاد سامانه مدیریت آن را دارید", + liara zone create -z looms.ir, + ], +]} /> +
+ + \ No newline at end of file diff --git a/src/pages/references/cli/delete-domain.mdx b/src/pages/references/cli/delete-domain.mdx new file mode 100644 index 00000000..144e289d --- /dev/null +++ b/src/pages/references/cli/delete-domain.mdx @@ -0,0 +1,92 @@ +import Layout from "@/components/Layout"; +import Button from "@/components/Common/button"; +import Section from "@/components/Common/section"; +import Alert from "@/components/Common/alert"; +import Tabs from "@/components/Common/tab"; +import Step from "@/components/Common/step"; +import Card from "@/components/Common/card"; +import Important from "@/components/Common/important"; +import Highlight from "@/components/Common/highlight"; +import Link from "next/link"; +import NextPage from "@/components/Common/nextpage"; +import Asciinema from "@/components/Common/asciinema"; +import Table from "@/components/Common/table"; + +import Head from "next/head"; + + + +مستندات حذف دامنه از DNS لیارا با Liara CLI - لیارا + + + + +# حذف دامنه از DNS لیارا با Liara CLI +
+ +برای +حذف دامنه از DNS لیارا با Liara CLI، +می‌توانید از دستور زیر، استفاده کنید: + +
+
+ +{`liara zone del # or liara zone delete`} + +
+
+ + + + +
+دستور liara zone del، liara zone delete یا liara zone rm پارامترهای زیر را، می‌پذیرد: + +
+
+ +{` liara zone rm [-h] [--debug] [--api-token ] [--account ] [-z ] [-y]`} + +
+ +
h- یا help--, + "نمایش راهنما", + liara zone rm -h, + ], + [ + debug--, + "برای نمایش لاگ‌های دیباگ", + liara zone rm --debug, + ], + [ + api-token--, +
+

برای اجرای آنی عملیات delete به کمک api token (مناسب ci/cd)

+
, + ****=liara zone rm --api-token, + ], + [ + account--, + "برای تغییر موقتی حساب کاربری ", + liara zone rm --account jane_doe, + ], + [ + z- یا zone--, + "برای درج آدرس دامنه‌ای که قصد حذف آن را دارید", + liara zone rm -n looms.ir, + ], + [ + y- یا yes--, + "برای تایید حذف دامنه از DNS لیارا", + liara zone rm -y, + ], +]} /> +
+ + \ No newline at end of file diff --git a/src/pages/references/cli/get-domain-details.mdx b/src/pages/references/cli/get-domain-details.mdx new file mode 100644 index 00000000..5797ec7b --- /dev/null +++ b/src/pages/references/cli/get-domain-details.mdx @@ -0,0 +1,140 @@ +import Layout from "@/components/Layout"; +import Button from "@/components/Common/button"; +import Section from "@/components/Common/section"; +import Alert from "@/components/Common/alert"; +import Tabs from "@/components/Common/tab"; +import Step from "@/components/Common/step"; +import Card from "@/components/Common/card"; +import Important from "@/components/Common/important"; +import Highlight from "@/components/Common/highlight"; +import Link from "next/link"; +import NextPage from "@/components/Common/nextpage"; +import Asciinema from "@/components/Common/asciinema"; +import Table from "@/components/Common/table"; + +import Head from "next/head"; + + + +مستندات مشاهده جزئیات دامنه در لیارا با Liara CLI - لیارا + + + + +# مشاهده جزئیات دامنه در لیارا با Liara CLI +
+ +برای +مشاهده جزئیات دامنه در لیارا با Liara CLI، +می‌توانید از دستور زیر، استفاده کنید: + +
+
+ +{`liara zone get`} + +
+
+ + + + +
+دستور liara zone get، پارامترهای زیر را، می‌پذیرد: + + +
+
+ +{` liara zone get [-h] [--debug] [--api-token ] [--account ] [--columns + | -x] [--filter ] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml] [--sort + ] [-z ]`} + +
+ +
x- یا extended--, + "نمایش اطلاعات و ستون‌های اضافی دامنه", + liara zone get --extended, + ], + [ + h- یا help--, + "نمایش راهنما", + liara zone get -h, + ], + [ + account--, + "برای تغییر موقتی حساب کاربری ", + liara zone get --account alinajmabadi_iran, + ], + [ + api-token--, +
+

برای اجرای آنی عملیات نمایش دامنه به کمک api token (مناسب ci/cd)

+
, + ****=liara zone get --api-token, + ], + [ + debug--, + "برای نمایش لاگ‌های دیباگ", + liara zone get --debug, + ], + [ + columns--, + "برای نمایش فقط ستون‌های انتخاب شده", + liara zone get --columns=Status,Name, + ], + [ + csv-- یا output=csv--, +
+

برای نمایش خروجی در فرمت CSV

+
, + liara zone get --csv, + ], + [ + filter--, +
+

برای فیلتر یک ستون با اسم

+
, + "liara zone get --filter="name=myapp, + ], + [ + no-header--, + "برای عدم نمایش هدرهای جدول", + liara zone get --no-header, + ], + [ + no-truncate--, + "برای جلوگیری از کوتاه شدن یا برش خروجی به اندازه‌ی صفحه نمایش ", + liara zone get --no-truncate, + ], + [ + output--, +
+

برای تعیین فرمت خروجی (CSV , YAML , JSON)

+
, + liara zone get --output=json, + ], + [ + sort--, +
+

برای مرتب‌سازی بر اساس یک ستون (مرتب‌سازی descending با -)

+
, + liara zone get --sort=-Name, + ], + [ + z- یا zone--, + "برای درج نام دامنه", + liara zone get -z looms.ir, + ], + +]} /> +
+ + + \ No newline at end of file diff --git a/src/pages/references/cli/list-domains.mdx b/src/pages/references/cli/list-domains.mdx new file mode 100644 index 00000000..45944990 --- /dev/null +++ b/src/pages/references/cli/list-domains.mdx @@ -0,0 +1,135 @@ +import Layout from "@/components/Layout"; +import Button from "@/components/Common/button"; +import Section from "@/components/Common/section"; +import Alert from "@/components/Common/alert"; +import Tabs from "@/components/Common/tab"; +import Step from "@/components/Common/step"; +import Card from "@/components/Common/card"; +import Important from "@/components/Common/important"; +import Highlight from "@/components/Common/highlight"; +import Link from "next/link"; +import NextPage from "@/components/Common/nextpage"; +import Asciinema from "@/components/Common/asciinema"; +import Table from "@/components/Common/table"; + +import Head from "next/head"; + + + +مستندات مشاهده لیست دامنه‌ها با Liara CLI - لیارا + + + + +# مشاهده لیست دامنه‌ها با Liara CLI +
+ +برای +مشاهده لیست دامنه‌ها با Liara CLI، +می‌توانید از دستور زیر، استفاده کنید: + +
+
+ +{`liara zone ls # or liara zone list`} + +
+
+ + + + +
+دستور liara zone ls یا liara zone list پارامترهای زیر را، می‌پذیرد: + + +
+
+ +{` liara zone ls [-h] [--debug] [--api-token ] [--account ] [--columns + | -x] [--filter ] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml] [--sort + ]`} + +
+ +
x- یا extended--, + "نمایش اطلاعات و ستون‌های اضافی دامنه", + liara zone ls --extended, + ], + [ + h- یا help--, + "نمایش راهنما", + liara zone ls -h, + ], + [ + account--, + "برای تغییر موقتی حساب کاربری ", + liara zone ls --account alinajmabadi_iran, + ], + [ + api-token--, +
+

برای اجرای آنی عملیات نمایش دامنه به کمک api token (مناسب ci/cd)

+
, + ****=liara zone ls --api-token, + ], + [ + debug--, + "برای نمایش لاگ‌های دیباگ", + liara zone ls --debug, + ], + [ + columns--, + "برای نمایش فقط ستون‌های انتخاب شده", + liara zone ls --columns=Status,Name, + ], + [ + csv-- یا output=csv--, +
+

برای نمایش خروجی در فرمت CSV

+
, + liara zone ls --csv, + ], + [ + filter--, +
+

برای فیلتر یک ستون با اسم

+
, + "liara zone ls --filter="name=myapp, + ], + [ + no-header--, + "برای عدم نمایش هدرهای جدول", + liara zone ls --no-header, + ], + [ + no-truncate--, + "برای جلوگیری از کوتاه شدن یا برش خروجی به اندازه‌ی صفحه نمایش ", + liara zone ls --no-truncate, + ], + [ + output--, +
+

برای تعیین فرمت خروجی (CSV , YAML , JSON)

+
, + liara zone ls --output=json, + ], + [ + sort--, +
+

برای مرتب‌سازی بر اساس یک ستون (مرتب‌سازی descending با -)

+
, + liara zone ls --sort=-Name, + ], + +]} /> +
+ + + \ No newline at end of file