-
Notifications
You must be signed in to change notification settings - Fork 93
Commands
Scott Kuroda edited this page Jan 6, 2015
·
6 revisions
- Command -
advanced_new_file_new
- Description - This command is used to create new files.
- Optional Arguments:
-
is_python
- When set to true, any newly created directories will be generated with__init__.py
files. Default values is false. -
initial_path
- String containing the initial content for the ANF input panel. Default value isNone
.
-
- Command -
advanced_new_file_new_at
- Description - This command is used to when creating files from a specified directory. For example, this would be used when using ANF to create a file from a side bar context menu.
- Required Arguments:
-
dirs
- List of strings representing the directories to create a new file. The first entry in the list is used as theinitial_path
when runningadvanced_new_file_new
.
-
- Command -
advanced_new_file_move
- Description - This command is used to move files.
- Optional Arguments:
-
is_python
- When set to true, any newly created directories will be generated with__init__.py
files. Default values is false. -
initial_path
- String containing the initial content for the ANF input panel. Default value isNone
. -
rename_file
- String representing the path of the file to move. Default value isNone
-
- Command -
advanced_new_file_move_at
- Description - This command is used when moving a file where the file location is already known. For example, this command can be used to move a file through a side bar context menu entry.
- Required Arguments:
-
files
- List of strings representing the paths of files. The first entry is used to runadvanced_new_file_move
.
-
- Command -
advanced_new_file_delete
- Description - This command will delete a specified file.
- Optional Arguments:
-
current
- When set to true, the current file open file will be deleted. If set to false, the ANF input panel will be presented, allowing a file to be specified. Default value isfalse
.
-
- Command -
advanced_new_file_copy
- Description - This command is used to move files.
- Optional Arguments:
-
is_python
- When set to true, any newly created directories will be generated with__init__.py
files. Default values is false. -
initial_path
- String containing the initial content for the ANF input panel. Default value isNone
. -
rename_file
- String representing the path of the file to move. Default value isNone
-
- Command -
advanced_new_file_copy_at
- Description - This command is used when copying a file where the file location is already known. For example, this command can be used to move a file through a side bar context menu entry.
- Required Arguments:
-
files
- List of strings representing the paths of files. The first entry is used to runadvanced_new_file_copy
.
-
- Command -
advanced_new_file_cut_to_file
- Description - This command will cut the highlighted region to the specified file. If the specified file already exists, a new line will be appended and the highlighted content.
- Optional Arguments:
-
is_python
- When set to true, any newly created directories will be generated with__init__.py
files. Default values is false.
-