feature
要素/特征定义相关 CLI 命令。
cmd_feature_create(fmt, file_id, name, fields)
创建新要素定义(需 Dimine 运行)。
Source code in dimine_python_sdk\cli\commands\feature.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
cmd_feature_delete(fmt, file_id, name)
删除要素定义(需 Dimine 运行)。
Source code in dimine_python_sdk\cli\commands\feature.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
cmd_feature_list(fmt, file_id)
列出文件中的要素定义(需 Dimine 运行)。
Source code in dimine_python_sdk\cli\commands\feature.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |
cmd_feature_update(fmt, file_id, name, fields)
更新现有要素定义的属性(需 Dimine 运行)。
Source code in dimine_python_sdk\cli\commands\feature.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
register_commands(subparsers, format_parent)
向 subparsers 注册要素相关子命令。
Source code in dimine_python_sdk\cli\commands\feature.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | |