sws clear Command Options

The sws clear command removes an item and its connected sub-structure from a design workspace. The command does not affect the structure on the server.

Note: All commands options can be entered in an abbreviated format. The abbreviated form is mentioned in the description. All commands and options are case-sensitive.

See Also
Adding and Removing Items in your Workspace
Understanding the sws clear Command
Option Description

--dir <directorypath>,-d <directorypath>

The root directory path for the workspace. If you do not specify a directory path, the command uses the current working directory by default.

--dir can be abbreviated as -d. If --dir is not specified, the default value is the current working directory.

--force , -f The --force option specifies removing any modified objects in the local workspace.
Note: The --force option never overwrites unmanaged files. These files must be manually moved, renamed, or deleted. Unmanaged files that are identical in content from the managed version in the semiconductor logical item are not considered collisions. The unmanaged file in the workspace becomes managed.

--force can be abbreviated as -f.

<PATH> Local directory to the item workspace root for the item being cleared from the workspace. You can provide more than one path argument for the command.
--help, -h Displays simplified help focused on the most useful information.--help can be abbreviated as -h.