-
Couldn't load subscription status.
- Fork 1
Add some stuff
To see what happens when commands are added to a branch, run an altcmd session and use the 'name' command. This is just a command that is provided for doing some basic testing. It lets you enter a name, and that's it.
C:\Alt> altcmd origin
Opened origin (current branch is origin)
[1]> name Dave
[2]>
Notice that having entered a name, the prompt number increases. This means that additional command data has been written. Here is the command data in 1.json:
{
"CmdName": "NameCmdLine",
"Sequence": 1,
"CreatedAt": "2019-09-10T19:33:23.8215795Z",
"Name": "Dave"
}
Every command data file contains three properties:
-
CmdName is a name that identifies the command. It will usually correspond to a class or interface name, but any sort of identifier could be used.
-
Sequence is the sequence number of the command (in a FileStore, this will match the number of the command data file). The command that creates a branch is always number 0.
-
CreatedAt is the time when the command was entered.
Any additional properties depend on the value for CmdName.
