Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
mihakralj committed Sep 28, 2023
1 parent ee4ce9d commit 73fb4b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,19 @@
- **`set <xpath> [value] [(attribute)]`**: Adds a new branch, value and/or attribute
- **`set <xpath> [value] [(attribute)] -d`**: Deletes branch, value and/or attribute
- **`discard [<xpath>]`**: Discards a value (or all changes) in the 'staging.xml'

- **`commit`**: Moves staging.xml to active 'config.xml'

- **`export [<source.xml>] [<target.xml>]`**: Extracts a patch file
- **`import [patch.xml]`**: Reads provided XML patch and injects it into 'staging.xml'

- **`backup [<backup.xml>]`**: Lists available backup configs or displays a specific backup
- **`restore [<backup.xml>]`**: Restores config.xml from a specific backup.xml. (alias: `load`)
- **`save [<file.xml>]`**: Creates a new /conf/backup/file.xml
- **`delete <backup.xml>`**: Deletes a specific backup.xml.
- **`delete age [days]`**: Deletes all backups older than specified days
- **`delete keep [count]`**: Keeps specified number of backups and deletes the rest
- **`delete trim [count]`**: Deletes number of the oldest backups

- **`sysinfo [<xpath>]`**: Retrieves system information from the firewall
- **`run <service> <command>`**: Executes commands on OPNsense.


### Flags

- **`--target (-t)`**: Sets the target OPNsense in the form of `user@hostname[:port]`.
Expand Down

0 comments on commit 73fb4b0

Please sign in to comment.