Skip to content

Commit

Permalink
update docs, bump to 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pcal43 committed Oct 4, 2022
1 parent 8e52ceb commit 76ca7c1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
7 changes: 5 additions & 2 deletions docs/commands-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ Command | Use
`restore` | Restore a backup snapshot.
`create-file-remote` | Create a remote backup target on the file system.
`set-remote` | Set the url for remote backups.
`set-shutdown-action` | Set an action to perform on shutdown.
`set-autoback-action` | Set an action to perform during auto-backups.
`set-autoback-wait` | Set the minimum number of minutes to wait between auto-backups.
`set-shutdown-action` | Set an action to perform on shutdown.
`set-retention` | Set snapshot retention policy.
`prune` | Delete old snapshots according to the retention policy.
`purge` | Delete an individual snapshot.
`delete` | Delete an individual snapshot.
`gc` | Run garbage collection to free up disk space.
`list` | List backup snapshots for this world.
`remote-list` | List remote snapshots.
`remote-delete` | Delete a remote snapshot.
`remote-restore` | Restore a remote snapshot.
`help` | Get help on commands.
25 changes: 15 additions & 10 deletions docs/permissions-list.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
Permission
--------------------------------
* `fastback.command`
* `fastback.command.create-file-remote`
* `fastback.command.disable`
* `fastback.command.enable`
* `fastback.command.disable`
* `fastback.command.local`
* `fastback.command.full`
* `fastback.command.gc`
* `fastback.command.help`
* `fastback.command.info`
* `fastback.command.list`
* `fastback.command.local`
* `fastback.command.prune`
* `fastback.command.purge`
* `fastback.command.restore`
* `fastback.command.create-file-remote`
* `fastback.command.set-remote`
* `fastback.command.set-autoback-action`
* `fastback.command.set-autoback-wait`
* `fastback.command.set-remote`
* `fastback.command.set-retention`
* `fastback.command.set-shutdown-action`
* `fastback.command.set-retention`
* `fastback.command.prune`
* `fastback.command.delete`
* `fastback.command.gc`
* `fastback.command.list`
* `fastback.command.remote-list`
* `fastback.command.remote-delete`
* `fastback.command.remote-restore`
* `fastback.command.help`
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ loader_version=0.14.9
fabric_version=0.62.0+1.19.2

# Mod
mod_version = 0.4.1+1.19.2-prerelease
mod_version = 0.5.0+1.19.2-prerelease
maven_group = net.pcal
archives_base_name = fastback
2 changes: 1 addition & 1 deletion src/main/java/net/pcal/fastback/commands/HelpCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private static void writeMarkdownReference(CommandContext<ServerCommandSource> c
out.println("* `" + BACKUP_COMMAND_PERM + "`");
for (final String sub : getSubcommandNames(cc)) {
String permName = subcommandPermName(sub);
String paddedPerm = String.format("%-" + 32 + "s", "`" + permName + "`");
String paddedPerm = String.format("* %-" + 32 + "s", "`" + permName + "`");
out.println(paddedPerm);
}
}
Expand Down

0 comments on commit 76ca7c1

Please sign in to comment.