USAGE: cktool <subcommand>
用法: cktool <子命令>
OPTIONS:
選項(xiàng):
--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.
保存授權(quán)令牌到鑰匙串或文件,以供后續(xù)授權(quán)命令使用。
remove-token Removes a previously-saved authorization token if one
exists.
如果存在,刪除之前保存的授權(quán)令牌。
export-schema Returns the current schema for a given container and
environment.
返回給定容器和環(huán)境的當(dāng)前架構(gòu)。
import-schema Import a local schema file into the given CloudKit
container and environment.
將本地架構(gòu)文件導(dǎo)入到給定的CloudKit容器和環(huán)境中。
validate-schema Validates a schema file against the given CloudKit
container and environment.
驗(yàn)證給定CloudKit容器和環(huán)境中的架構(gòu)文件。
reset-schema Resets schema in the container development
environment to match production, and deletes all data
in the development environment.
重置容器開(kāi)發(fā)環(huán)境中的架構(gòu)以匹配生產(chǎn)環(huán)境,并刪除開(kāi)發(fā)環(huán)境中的所有數(shù)據(jù)。
create-record Creates a new record in a given database, returning
the new record.
在給定的數(shù)據(jù)庫(kù)中創(chuàng)建一個(gè)新記錄,并返回新記錄。
query-records Queries the database for records with an optional set
of filters.
使用一組可選的過(guò)濾器查詢數(shù)據(jù)庫(kù)中的記錄。
delete-record Deletes a record from a given database by its unique
record name.
通過(guò)其唯一記錄名稱從給定數(shù)據(jù)庫(kù)中刪除記錄。
delete-records Deletes records from a given database that match a
set of one or more filters.
刪除與一組或多個(gè)過(guò)濾器匹配的給定數(shù)據(jù)庫(kù)中的記錄。
get-teams Returns a list of teams of which the developer
account is a member.
返回開(kāi)發(fā)者賬戶是其成員的團(tuán)隊(duì)列表。
version Prints version information.
打印版本信息。
See 'cktool help <subcommand>' for detailed help.