To make it easier for writers, they should be able to pull a template from the web service to start creating content specifications. To create a new template the user should type something like skynet new -c. An alternative is to also provide an example and comments within that template to explain how to write a content specification. To pull that template the user should type something along the lines of skynet new --contentspec --full. The new action should also provide the ability to save the result to file using the -o option.
Added. Since there are only two possible templates, the templates are stored in the ContentSpecs table with an id of 0. The template full of comments is stored in the post content spec field and the basic template is stored in the pre content spec field. This content spec tuple will not be displayed when searching or getting a list of content specs. The only variables that have to be set when adding in the Template ContentSpecs tuple is the Id, Timestamp and the two templates. The client has the "template" action added. To pull a basic template the command is "skynet template -c". To pull the template with full comments use the "skynet template -cf" command. To save the output from either of the two commands use the --output (-o) option and specify a path or file name. (Requires build 0.16.0 of the java client)
Documented in Topic 6223