Add present working course command #4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
In the Clanvas shell, the default prompt adds functionality parallel to what most shells have with the
cd
(change directory) command. Clanvas has acc
(change class) command, which then implicitly passes that course to all the command that require a course to be specified (for example,lg
(list grades) can be called after acc
call, or one can use the-c
option to specify a course explicitly or a course other than the current one).Add a
pwc
(present working class) command (analogous to thepwd
(present working directory) command) that outputs information about the class that is currently selected withcc
.Now, there is a bit more information about courses than there is about directories, so I imagine the command would be a bit more complex than the
pwd
command, here is how I imagine some example output:Command:
pwc
Command:
pwc -l
If no course has been selected, something like the following would make sense.
Command:
pwc
The text was updated successfully, but these errors were encountered: