Lesson 9 - Sysand in Terminal

Trying the challenge for Lesson 9,

$ sysand –version

returns “sysand0.0.7”

However

$ sysand new my_project

returns “error: unrecognized subcommand ‘new’“.

Similarly

$ sysand add urn:kpar:pleml

returns “error: unable to find interchange project in current directory”.

Some step-by-step instructions for using Sysand in the Advent blog post would be helpful.

Hi,

I struggled with the same.

What worked for me was to use syside init (not syside new) and then I could add the pleml.

So:

$ sysand init

Creating interchange project `advent-of-sysml-v2`

$ sysand add urn:kpar:pleml

  		Adding usage: 'urn:kpar:pleml'  

		Creating env 

 		Syncing env 

	Installing urn:kpar:pleml 0.5.0

Hi brlarson and Maurice,

With the 0.0.7 release the new command was removed in favour of a unified init command for all creation of new projects. So sysand init initializes a new project in the current directory as before and if you want to create a new directory and initialize it then use sysand init my_project instead of new.

It was a bit unfortunate that this change came about at the tail end of Advent of SysML. Hopefully it hasn’t caused too much confusion.

Happy holidays everyone