Skip to content

Commit

Permalink
Update: Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Juminstock committed Nov 1, 2023
1 parent 14f3397 commit 93aa5dc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/backlog-ticket.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Clear command
about: New feature/clearCommand
title: ''
title: 'Clear command'
labels: ''
assignees: ''

Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ USAGE
* [`swanky node install`](#swanky-node-install)
* [`swanky node purge`](#swanky-node-purge)
* [`swanky node start`](#swanky-node-start)
* [`swanky clear CONTRACTNAME`](#)
* [`swanky plugins`](#swanky-plugins)
* [`swanky plugins:install PLUGIN...`](#swanky-pluginsinstall-plugin)
* [`swanky plugins:inspect PLUGIN...`](#swanky-pluginsinspect-plugin)
Expand Down Expand Up @@ -558,6 +559,25 @@ DESCRIPTION
Start a local node
```

## `swanky clear`

Clear the artifacts

```
USAGE
$ swanky clear [CONTRACTNAME] [-v] [-a]
ARGUMENTS
CONTRACTNAME Name of the contract artifact to clear
FLAGS
-a, --all Select all the project artifacts for delete
-v, --verbose Display more info in the result logs
DESCRIPTION
Clear the artifacts
```

## `swanky plugins`

List installed plugins.
Expand Down
1 change: 1 addition & 0 deletions src/commands/clear/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default class Clear extends SwankyCommand<typeof Clear> {
static flags = {
all: Flags.boolean({
char: "a",
description: "Select all the project artifacts for delete"
}),
};

Expand Down

0 comments on commit 93aa5dc

Please sign in to comment.