Fkit命令行工具介绍

fkit工具是FlowHub平台使用go语言开发的命令行工具,能够在windows / Linux / macOS 上运行,主要用于文件上传下载 / 工具制作 / 工具上传下载。

fkit工具各平台的编译版本可在下方获取。下载后解压可以直接使用。

操作系统 系统版本 下载链接
Windows 32位 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_windows_386/fkit.zip
Windows 64位 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_windows_amd64/fkit.zip
Linux 32位 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_linux_386/fkit.zip
Linux 64位 amd64 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_linux_amd64/fkit.zip
Linux 64位 arm64 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_linux_arm64/fkit.zip
MacOS 64位 amd64 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_darwin_amd64/fkit.zip
MacOS 64位 arm64 https://flowhub-master.oss-cn-hangzhou.aliyuncs.com/publish/fkit_darwin_arm64/fkit.zip

对于linux,macOS平台用户,我们建议下载方式

wget -O fkit.zip 下载链接
cul -O fkit.zip 下载链接

由于docker的使用(docker介绍可以阅读什么是docker),需要管理员权限,所以对于linux,macOS平台用户,我们建议用户在使用fkit时加上sudo。

sudo ./fkit –h

安装成功时,将会输出下面的说明文档,您可以通过说明文档了解fkit工具的使用。

Mainly used for flow hub platform file and tool transfer. 
If you encounter any problems during use, please report related problems to flowhub_team@flowhub.com.cn, and we will reply to your message as soon as possible.

Usage:
  fkit [command]

Available Commands:
  cd               Change Dir
  createNewVersion Upload the new version of the image to the corresponding tool, and the version number of the corresponding tool +1
  createTool       Upload the image to the platform account project and name the tool image 
  download         Download Files
  help             Help about any command
  login            Login fkit
  logout           Logout fkit
  ls               List directory contents
  mv               Move file
  project          Select Project
  pull             Pull the tool image under the platform account to the local for further development
  pwd              Show current dir
  rename           Rename file
  rm               Remove File or Dir
  upload           Upload Files
  version          Get fkit version

Flags:
  -h, --help   help for fkit

Use "fkit [command] --help" for more information about a command.

对于单个功能的查看,如查看fkit login 登录flowhub账户的功能。

sudo ./fkit login –h
The user login, the user needs to complete the login first before performing other operations of fkit
-k token, You can get the token after logging in to the flowhub webpage 
E.g: ./fkit login -k dd3e5b06896711eb8cfb12420bfe23ax -s ccd4bf88bb0411ebb2227ae21af0849x

Usage:
  fkit login [flags]

Flags:
  -k, --access-key string      access key Id
  -s, --access-secret string   access key secret
  -h, --help                   help for login
  -H, --host string            input fkit endpoint (default "https://www.flowhub.com.cn")
  -i, --internal               internal is bool variable, true: Upload by internal; false: Upload by intenet

results matching ""

    No results matching ""