Patches
Versioned file overrides applied to an application at deploy time. Generated from the `notploy` command surface.
Versioned file overrides applied to an application at deploy time.
notploy patch exposes 12 commands. They map one-to-one onto the patch.* API operations, so anything reachable from the dashboard is reachable from here.
Run notploy patch --help to list these commands in your terminal, or
notploy patch <command> --help for a single command.
Commands
notploy patch by-entity-id
Calls GET /api/trpc/patch.byEntityId.
notploy patch by-entity-id --id <value> --type <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--id <value> | string | Yes | — |
--type <value> | string | Yes | application, compose |
--profile <name> | string | No | — |
notploy patch clean-patch-repos
Calls POST /api/trpc/patch.cleanPatchRepos.
notploy patch clean-patch-repos [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--serverId <value> | string | No | — |
--profile <name> | string | No | — |
notploy patch create
Calls POST /api/trpc/patch.create.
notploy patch create --filePath <value> --content <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--filePath <value> | string | Yes | — |
--content <value> | string | Yes | — |
--type <value> | string | No | create, update, delete |
--enabled [boolean] | boolean | No | — |
--no-enabled | boolean | No | — |
--applicationId <value> | string | No | — |
--composeId <value> | string | No | — |
--profile <name> | string | No | — |
notploy patch delete
Calls POST /api/trpc/patch.delete.
notploy patch delete --patchId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--patchId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy patch ensure-repo
Calls POST /api/trpc/patch.ensureRepo.
notploy patch ensure-repo --id <value> --type <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--id <value> | string | Yes | — |
--type <value> | string | Yes | application, compose |
--profile <name> | string | No | — |
notploy patch mark-file-for-deletion
Calls POST /api/trpc/patch.markFileForDeletion.
notploy patch mark-file-for-deletion --id <value> --type <value> --filePath <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--id <value> | string | Yes | — |
--type <value> | string | Yes | application, compose |
--filePath <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy patch one
Calls GET /api/trpc/patch.one.
notploy patch one --patchId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--patchId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy patch read-repo-directories
Calls GET /api/trpc/patch.readRepoDirectories.
notploy patch read-repo-directories --id <value> --type <value> --repoPath <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--id <value> | string | Yes | — |
--type <value> | string | Yes | application, compose |
--repoPath <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy patch read-repo-file
Calls GET /api/trpc/patch.readRepoFile.
notploy patch read-repo-file --id <value> --type <value> --filePath <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--id <value> | string | Yes | — |
--type <value> | string | Yes | application, compose |
--filePath <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy patch save-file-as-patch
Calls POST /api/trpc/patch.saveFileAsPatch.
notploy patch save-file-as-patch --id <value> --type <value> --filePath <value> --content <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--id <value> | string | Yes | — |
--type <value> | string | Yes | application, compose |
--filePath <value> | string | Yes | — |
--content <value> | string | Yes | — |
--patchType <value> | string | No | create, update |
--profile <name> | string | No | — |
notploy patch toggle-enabled
Calls POST /api/trpc/patch.toggleEnabled.
notploy patch toggle-enabled --patchId <value> --enabled [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--patchId <value> | string | Yes | — |
--enabled [boolean] | boolean | Yes | — |
--profile <name> | string | No | — |
notploy patch update
Calls POST /api/trpc/patch.update.
notploy patch update --patchId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--patchId <value> | string | Yes | — |
--type <value> | string | No | create, update, delete |
--filePath <value> | string | No | — |
--enabled [boolean] | boolean | No | — |
--no-enabled | boolean | No | — |
--content <value> | string | No | — |
--createdAt <value> | string | No | — |
--updatedAt <value> | string | No | — |
--profile <name> | string | No | — |