feat: allow to configure if home directory is automatically created from cli (#2963)

This commit is contained in:
ねらひかだ
2024-01-30 18:14:50 +09:00
committed by GitHub
parent 5c5ab6b875
commit a4b089a6db
3 changed files with 9 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ func addConfigFlags(flags *pflag.FlagSet) {
addServerFlags(flags)
addUserFlags(flags)
flags.BoolP("signup", "s", false, "allow users to signup")
flags.Bool("create-user-dir", false, "generate user's home directory automatically")
flags.String("shell", "", "shell command to which other commands should be appended")
flags.String("auth.method", string(auth.MethodJSONAuth), "authentication type")