The version command provides version-related information for the Snipplle CLI and for snippets stored in Snipplle.
It can be used to:
To display the currently installed version of the Snipplle CLI, run:
snipplle version
The command outputs the CLI version.
This is useful for:
To view all available versions of a specific snippet stored in Snipplle, use the version command with an additional flag:
snipplle version -s <workspace-slug>/<snippet-slug>
This command queries Snipplle directly and returns all versions available for the specified snippet, regardless of whether it exists in the local project.
Snippet version information can help you: