cktool 命令

USAGE: cktool <subcommand>

用法: cktool <子命令>

OPTIONS:
选项:
--version Show the version.
显示版本信息。
-h, --help Show help information.
显示帮助信息。

SUBCOMMANDS:
子命令:
save-token Saves an authorization token to either the keychain
or to a file for use in subsequent authorized
commands.
保存授权令牌到钥匙串或文件,以供后续授权命令使用。

remove-token Removes a previously-saved authorization token if one
exists.
如果存在,删除之前保存的授权令牌。

export-schema Returns the current schema for a given container and
environment.
返回给定容器和环境的当前架构。

import-schema Import a local schema file into the given CloudKit
container and environment.
将本地架构文件导入到给定的CloudKit容器和环境中。

validate-schema Validates a schema file against the given CloudKit
container and environment.
验证给定CloudKit容器和环境中的架构文件。

reset-schema Resets schema in the container development
environment to match production, and deletes all data
in the development environment.
重置容器开发环境中的架构以匹配生产环境,并删除开发环境中的所有数据。

create-record Creates a new record in a given database, returning
the new record.
在给定的数据库中创建一个新记录,并返回新记录。

query-records Queries the database for records with an optional set
of filters.
使用一组可选的过滤器查询数据库中的记录。

delete-record Deletes a record from a given database by its unique
record name.
通过其唯一记录名称从给定数据库中删除记录。

delete-records Deletes records from a given database that match a
set of one or more filters.
删除与一组或多个过滤器匹配的给定数据库中的记录。

get-teams Returns a list of teams of which the developer
account is a member.
返回开发者账户是其成员的团队列表。

version Prints version information.
打印版本信息。

See 'cktool help <subcommand>' for detailed help.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容