wvs file

Shows help messages for all file commands

Options

  -h, --help   help for file

wvs file resolve

Resolve conflicts in a file

Synopsis

Allows user to resolve a single file that is in a conflicted state.

wvs file resolve [file]] [flags]

Options

      --edited   You have edited the file and resolved manually.
  -h, --help     help for resolve
      --json     Output JSON according to the established WVS CLI standard.
      --our      Our File takes precedence.
      --their    Their File takes precedence.

wvs file revert

Revert a set of files to previous state

Synopsis

Allows user to revert a set of files to their original state. The files will be reverted regardless of whether they are in a changelist or not, or if a changelist even exists.

Individual files may fail to revert if they are currently open in an application (e.g. the game engine editor or DCC tool). In such cases the files that could be reverted will be reverted.

The exit code of the command will not indicate an error if only some files fail to revert. It will only indicate an error if all of the specified files failed to revert.

Reverted files are removed from any changelist in which they may appear.

The –unchanged option is used to indicate that the specified files should only be reverted if they are unchanged. This may seem strange but it is an effective way to remove unchanged files form a changelist.

wvs file revert [file1 file2 ...] [flags]

Options

  -h, --help        help for revert
      --json        Output JSON according to the established WVS CLI standard.
      --unchanged   Only revert unchanged files.

wvs file getProperty

Gets one or more properties of the specified path

Synopsis

Gets one or more properties of the specified file. Wildcards are not expanded or supported. The path does not need to exist. This function is useful for determining what the attributes of a file are (or would be), according to the settings of the repository.

wvs file getProperty [file1] [flags]

Options

  -h, --help       help for getProperty
      --json       Output JSON according to the established WVS CLI standard.
      --lockable   Return file's 'lockable' property.

See also

  • wvs - A Command Line Interface for interacting with a Wevr Virtual Studio.