MCPcopy Create free account
hub / github.com/AGWA/git-crypt / help_export_key

Function help_export_key

commands.cpp:1363–1371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361}
1362
1363void help_export_key (std::ostream& out)
1364{
1365 // |--------------------------------------------------------------------------------| 80 chars
1366 out << "Usage: git-crypt export-key [OPTIONS] FILENAME" << std::endl;
1367 out << std::endl;
1368 out << " -k, --key-name KEYNAME Export the given key, instead of the default" << std::endl;
1369 out << std::endl;
1370 out << "When FILENAME is -, export to standard out." << std::endl;
1371}
1372int export_key (int argc, const char** argv)
1373{
1374 // TODO: provide options to export only certain key versions

Callers 2

help_for_commandFunction · 0.85
export_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected