[skip ci] add WorkplaceConfigExample.yaml

This commit is contained in:
ansgarz 2021-12-30 21:59:09 +01:00
parent 469136b8d7
commit b007104a50
2 changed files with 14 additions and 3 deletions

View file

@ -0,0 +1,14 @@
# type is required
type: MINIMAL # MINIMAL, OFFICE or IDE
# fields below are optional, either remove them or update them with your data
ssh:
sourceType: FILE # FILE or GOPASS
publicKey: ~/.ssh/id_rsa.pub # file path resp. gopass path to public key
privateKey: ~/.ssh/id_rsa # file path resp. gopass path to private key
gpg:
sourceType: GOPASS # FILE or GOPASS
publicKey: path/to/pub.key # file path resp. gopass path to public key
privateKey: path/to/priv.key # file path resp. gopass path to private key
gitUserName: username # global git user name
gitEmail: for@git.email # global git email

View file

@ -32,8 +32,5 @@ fun main(args: Array<String>) {
"Pls copy file \u001B[31m WorkplaceConfigExample.yaml \u001B[0m to file \u001B[31m ${cmd.configFile} \u001B[0m " + "Pls copy file \u001B[31m WorkplaceConfigExample.yaml \u001B[0m to file \u001B[31m ${cmd.configFile} \u001B[0m " +
"and change the content according to your needs.\n" "and change the content according to your needs.\n"
) )
// provide example config
File("WorkplaceConfigExample.yaml").writeText("type: \"MINIMAL\"\n")
} }
} }