feat(core): micropython 板卡文件管理 右键菜单添加 剪切 、复制 和 粘贴 选项
This commit is contained in:
@@ -337,7 +337,7 @@ def put(local, remote):
|
||||
else:
|
||||
sys.stdout.write("Skip " + filename + "\n")
|
||||
sys.stdout.flush()
|
||||
board_files.putDir(file_name_list, data_list, False)
|
||||
board_files.putdir(file_name_list, data_list, False)
|
||||
|
||||
'''
|
||||
for filename in child_files:
|
||||
@@ -404,6 +404,22 @@ def rename(oldname, newname):
|
||||
board_files.rename(oldname, newname)
|
||||
|
||||
|
||||
@cli.command()
|
||||
@click.argument("local", required=True)
|
||||
@click.argument("remote", required=True)
|
||||
def cpdir(local, remote):
|
||||
board_files = files.Files(_board)
|
||||
board_files.cpdir(local, remote)
|
||||
|
||||
|
||||
@cli.command()
|
||||
@click.argument("local", required=True)
|
||||
@click.argument("remote", required=True)
|
||||
def cpfile(local, remote):
|
||||
board_files = files.Files(_board)
|
||||
board_files.cpfile(local, remote)
|
||||
|
||||
|
||||
@cli.command()
|
||||
@click.argument("local_file")
|
||||
@click.option(
|
||||
|
||||
Reference in New Issue
Block a user