ros-template(1)

ros-template - Edit template for ros-init

synopsis

Subcommands

init template-name

Create new template in local-project directory.

list

Show file list and states of the files type chmod rewrite in templates.

checkout [template-name]

When invoked without template-name,this command shows candidates for current templates to operate.If with template-name, this command choose the name as current template.

add [template-name] [files ...]

Add files to current template.First parameter could taken as a template-name when current template are default.

cat [template-name] [files ...]

Show contents in the current template.

rm [template-name] [files ...]

Remove file form current template.

type [template-name] [type] [files ...]

Change file type. current choice for types are djula or copy {{name}} {{author}} {{email}} {{universal_time}} are available variable in the template file.

chmod [template-name] [mode] [files ...]

Change file mode bits to generate. specify mode in octal format.

rewrite [template-name] file rewrite-rule

Change file name using djula template.Variables {{name}} {{author}} {{email}} {{universal_time}} are available for rewrite-rule.

help

Show the subcommand help.

description

SEE ALSO

ros(1) ros-init(1) _