You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CommandLineHelp.md
+47-2Lines changed: 47 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ This document contains the help content for the `screenly` command-line program.
7
7
*[`screenly`↴](#screenly)
8
8
*[`screenly login`↴](#screenly-login)
9
9
*[`screenly logout`↴](#screenly-logout)
10
+
*[`screenly auth`↴](#screenly-auth)
11
+
*[`screenly auth list`↴](#screenly-auth-list)
12
+
*[`screenly auth switch`↴](#screenly-auth-switch)
10
13
*[`screenly screen`↴](#screenly-screen)
11
14
*[`screenly screen list`↴](#screenly-screen-list)
12
15
*[`screenly screen get`↴](#screenly-screen-get)
@@ -58,6 +61,7 @@ Command line interface is intended for quick interaction with Screenly through t
58
61
59
62
*`login` — Logs in with the provided token and stores it for further use if valid. You can set the API_TOKEN environment variable to override the stored token
60
63
*`logout` — Logs out and removes the stored token
64
+
*`auth` — Manage stored authentication profiles
61
65
*`screen` — Screen related commands
62
66
*`asset` — Asset related commands
63
67
*`playlist` — Playlist related commands
@@ -74,15 +78,56 @@ Command line interface is intended for quick interaction with Screenly through t
74
78
75
79
Logs in with the provided token and stores it for further use if valid. You can set the API_TOKEN environment variable to override the stored token
76
80
77
-
**Usage:**`screenly login`
81
+
**Usage:**`screenly login [OPTIONS]`
82
+
83
+
###### **Options:**
84
+
85
+
*`--name <NAME>` — Profile name to store the token under. Required when other profiles already exist
78
86
79
87
80
88
81
89
## `screenly logout`
82
90
83
91
Logs out and removes the stored token
84
92
85
-
**Usage:**`screenly logout`
93
+
**Usage:**`screenly logout [OPTIONS]`
94
+
95
+
###### **Options:**
96
+
97
+
*`--name <NAME>` — Profile name to remove. Removes the active profile if not specified
98
+
99
+
100
+
101
+
## `screenly auth`
102
+
103
+
Manage stored authentication profiles
104
+
105
+
**Usage:**`screenly auth <COMMAND>`
106
+
107
+
###### **Subcommands:**
108
+
109
+
*`list` — List stored authentication profiles
110
+
*`switch` — Switch the active authentication profile
0 commit comments