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
{{ message }}
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,14 @@ Once installation is complete, you can log in using `tmc login`. This saves your
81
81
server address:
82
82
username:
83
83
password:
84
-
Login successful.
84
+
Choose organization by writing its slug:
85
+
Do you want to send crash reports for client development? (Y/n)
86
+
Do you want to send analytics data for research? (Y/n)
85
87
```
86
88
89
+
You can change your organization with the command `organization`. Use the option `-o` and give the slug of an organization as an argument. Otherwise all available organizations will be listed.
90
+
You can inspect and change your settings such as sending data with the command `config`. Use the option `-l` to see your current settings and give `[KEY]=[NEW VALUE]` as arguments to change them.
91
+
87
92
## Listing courses
88
93
89
94
Once you have logged in, you can list all the available courses on the server with `tmc courses`.
@@ -96,7 +101,7 @@ c-mooc
96
101
javascript-for-lazy-hipsters
97
102
```
98
103
99
-
Note that you can only submit exercises on courses for which you have enrolled.
104
+
Note that you can only exercises on courses for which you have enrolled.
100
105
101
106
## Downloading courses
102
107
@@ -127,7 +132,7 @@ All tests passed! Submit to server with 'tmc submit'
127
132
128
133
## Submitting exercises
129
134
130
-
You have now completed your first exercise! To submit your exercise, run `tmc submit`. The syntax is the same as for running tests.
135
+
You have now completed your first exercise! To submit your exercise, run `tmc submit [exercise-name]` or run `tmc submit` in an exercise directory. The syntax is the same as for running tests.
Copy file name to clipboardExpand all lines: docs/MANUAL.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,12 +126,10 @@ COMMAND: SUBMIT
126
126
`tmc``submit`[`-a`][`-d`][`-c`][*path*] ...
127
127
128
128
Submit exercises to the server. If no *path* is given, the exercise in the
129
-
current working directory will be submitted. Several exercises can be submitted
130
-
at once. If the current work directory is the course root directory or the
131
-
course root directory was given as a *path*, then all exercises will be submitted.
129
+
current working directory will be submitted. The submittable exercise(s) must be given as an argument.
132
130
133
131
For every successful submission, you'll be prompted to send feedback for the
134
-
exercise if the course has enabledfeedback questions. Sending feedback is
132
+
exercise if the course has enabled feedback questions. Sending feedback is
135
133
always optional.
136
134
137
135
`-a``--all`
@@ -192,7 +190,7 @@ Set or unset TMC-CLI properties. Only accepts certain keys. If not invoked with
192
190
Do not ask for confirmations or print out set values.
193
191
194
192
`-l``--list`
195
-
List all current properties.
193
+
List all current settings.
196
194
197
195
`-g``--get=KEY` or `--get KEY`
198
196
Get the value of a specific key.
@@ -206,8 +204,20 @@ List of configurable settings:
206
204
blue, purple, cyan, white, none. Stored in properties.
207
205
**send-diagnostics*
208
206
Allow sending crash reports and analytics for client development. Stored with account.
207
+
**send-analytics*
208
+
Allow sending analytics data of commands run. Stored in account.
209
209
**server-address*
210
-
Address to fetch courses from and submit to. Defaults to `https://tmc.mooc.fi`. Stored with account
210
+
Address to fetch courses from and submit to. Defaults to `https://tmc.mooc.fi`. Stored with account. Changing the server address will log the user out and prompt a new login.
211
+
212
+
COMMAND: ORGANIZATION
213
+
---------------
214
+
215
+
`tmc``organization`[`-o`][*slug*] ...
216
+
217
+
Change organization, which determines the downloadable courses. If no slug is given, or the slug is invalid, all available organizations are listed, and the user will be prompted to choose one.
218
+
219
+
`-o``--organization`
220
+
Change organization to slug given as an argument without the listing of all organizations.
Change organization, which determines the downloadable courses. If no slug is given, or the slug is invalid, all available organizations are listed, and the user will be prompted to choose one.
192
+
.PP
193
+
\fB\fC\-o\fR\fB\fC\-\-organization\fR
194
+
Change organization to slug given as an argument without the listing of all organizations.
172
195
.ti0
173
196
\l'\n(.lu'
174
197
.SH FILES
175
198
.TP
176
199
\fB\fC[course directory]/.tmc.json\fR
177
200
Course configuration and cache file. Saves the status of the username, server
178
201
address and course's exercises. Manually editing this file may have adverse
179
-
effects.
202
+
effects.
180
203
.TP
181
204
\fB\fC~/.config/tmc\-cli/properties.json\fR
182
205
User configuration file. Use \fB\fCtmc prop\fR to edit properties.
0 commit comments