Skip to content

CLI - new-procedure command #194

@Latrasis

Description

@Latrasis

We need a new-procedure command for setting up a new procedure code.

New-Procedure Command

Parameters:

  • <name> - Name of new procedure

Output:

  • Creates of new cargo project with the procedure name
  • Creates a caps.json file with sample log capability
  • Creates a sample main.rs file that uses the log capability to output "Hello World"

Deploy-Procedure Command

The deploy-procedure command is amended:

  • If it just recieves the procedure name, it looks for a cargo project with the same name
  • If it receives additional paths, it uses them instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions