Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snazzah/slash-up
💻 CLI to view Discord commands and sync commands with slash-create
https://github.com/snazzah/slash-up
cli discord discord-bot slash-create
Last synced: 3 days ago
JSON representation
💻 CLI to view Discord commands and sync commands with slash-create
- Host: GitHub
- URL: https://github.com/snazzah/slash-up
- Owner: Snazzah
- License: mit
- Created: 2021-12-20T22:20:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T21:38:38.000Z (over 1 year ago)
- Last Synced: 2025-02-15T02:06:30.872Z (5 days ago)
- Topics: cli, discord, discord-bot, slash-create
- Language: TypeScript
- Homepage: https://slash-create.js.org
- Size: 812 KB
- Stars: 15
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/slash-up) [](https://www.npmjs.com/package/slash-up) [](https://github.com/Snazzah/slash-up/actions?query=workflow%3A%22ESLint%22) [](https://deepscan.io/dashboard#view=project&tid=11596&pid=19549&bid=510637) [](https://snaz.in/discord)
CLI to view Discord commands and sync commands with [slash-create](https://github.com/Snazzah/slash-create).

```
slash-upCommands
slash-up list View the list of commands on Discord
slash-up view [command] View a command on Discord
slash-up local View the list of local commands
slash-up sync Sync local commands to Discord
slash-up init [template] [dest] Clone a slash-create template into a new directory
slash-up config [dir] Create a config file in the specified directoryOther Options
-h, --help Show usage information & exit [boolean]
-v, --version Show version number & exit [boolean]
```## Config
Config files are taken from `slash-up.config.js` file or the file set from `--config` flag. You can create a config template file from `npx slash-up config`.
| Property | Type | Description |
|----------|------|-------------|
| token | `string` | The token of the Discord bot |
| applicationId | `string` | The application ID of the Discord bot |
| commandPath | `string` | The path to the local commands directory |
| globalToGuild | `string`? | The guild ID to set all global commands to when syncing, best for development environments |
| beforeSync | `'block'/'confirm'`? | What to do before syncing, 'confirm' prompts you before syncing |
| env | `object`? | An object with keys as environment names and values as configs. You can use `--env (-e)` to use an environment's config |## Useful Links
- [slash-create](https://github.com/Snazzah/slash-create)
- [GitHub](https://github.com/Snazzah/slash-up)
- [NPM](https://www.npmjs.com/package/slash-up)