taskd(1)

πŸ“¦
version 1.1.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’… taskd(1) β€” the Taskserver glow-up guide

okay bestie, this is the manual for taskd, aka Taskserver β€” and yes, it's the taskd(1) page, section 1, User Manuals. grab a strawberry drink πŸ“ and let's go.


✨ SYNOPSIS ✨

taskd <command> [options] [<args>]
taskd -v|--version
taskd -h|--help
taskd diagnostics
taskd validate <JSON | file>
taskd help [<command>]

πŸ¦‹ DESCRIPTION πŸ¦‹

Taskserver is a sync server for Taskwarrior and related products. that's the whole vibe. it syncs. it serves. it's the main character of your task infrastructure. πŸ‘‘


πŸŽ€ COMMANDS πŸŽ€

Taskserver supports several commands, which provide administrative capabilities. the commands are:

  • taskd init [--data <root>] [options] β€” Performs a one-time initialization of the Taskserver instance. Creates the bare data structure. Either --data <root> must be specified, or TASKDDATA must be set. it's giving "first day of school" energy β€” one time only, no redo. πŸ™ˆ
  • taskd help <command> [options] β€” Provides option and syntax help for each command. your personal hype friend that tells you how everything works. πŸ’–
  • taskd config [options] [--data <root>] [--force] [<name> [<value>]] β€” Allows modification of the taskd configuration. Can add, remove, modify or list all configuration settings. Either --data <root> must be specified, or TASKDDATA must be set. it does it all, no cap. ✨
  • taskd server [--daemon] [options] β€” Starts the server in daemon or TTY mode. While there is no interactivity, the difference is whether taskd is attached to a TTY or not.
πŸ’€ heads up: sending the HUP signal to the taskd server causes a configuration file reload before the next request is handled. lowkey iconic behavior, honestly.
  • taskd add [--data <root>] org <org>
  • taskd add [--data <root>] group <org> <group>
  • taskd add [--data <root>] user <org> <user>

Adds organizations, groups and users. Either --data <root> must be specified, or TASKDDATA must be set. new people, new groups, new orgs β€” the friend group is expanding 🫢

  • taskd remove [--data <root>] org <org>
  • taskd remove [--data <root>] group <org> <group>
  • taskd remove [--data <root>] user <org> <user>

Removes organizations, groups and users. Either --data <root> must be specified, or TASKDDATA must be set. blocking them, basically. 😭

  • taskd suspend [--data <root>] org <org>
  • taskd suspend [--data <root>] group <org> <group>
  • taskd suspend [--data <root>] user <org> <user>

Suspends organizations, groups and users. Either --data <root> must be specified, or TASKDDATA must be set. not cancelled, just on pause β€” soft launch energy. 🌸

  • taskd resume [--data <root>] org <org>
  • taskd resume [--data <root>] group <org> <group>
  • taskd resume [--data <root>] user <org> <user>

Resumes organizations, groups and users. Either --data <root> must be specified, or TASKDDATA must be set. they're back, and they ate. πŸ’…

  • taskd diagnostics β€” Displays diagnostic information important when reporting bugs. your receipts, bestie. 🧾
  • taskd validate <JSON | file> β€” Parses the quoted JSON string or JSON file. Useful for debugging JSON that is generated by Taskserver clients. vibe check for your JSON πŸ”
  • taskd client [options] <host:port> <file> [<file> ...] β€” Sends the Taskserver request in <file> to <host:port>. Options specified must include ca.cert (for self-signed certs), client.cert, client.key. no certs, no entry β€” it's giving bouncer at the club. πŸ”₯

🌈 COMMON OPTIONS 🌈

Most commands support the following options β€” these are the little settings that show up everywhere, like that one friend who's at every party:

  • --NAME=VALUE β€” Temporary configuration override. ✨
  • --force β€” Does not ask for confirmation of changes. no "are you sure?", just send it. πŸ’€
  • --quiet β€” Suppresses verbose output. shhh, we're being mysterious 🀫
  • --debug β€” Shows debugging information. the receipts, the lore, the behind-the-scenes 🎬
  • --data <root> β€” Many commands require the location of the data root, so either it must be provided as shown, or via the TASKDDATA environment variable. πŸ—‚οΈ

πŸ’œ CONFIGURATION πŸ’œ

The Taskserver configuration file can be found in the top level of the data root. It is recommended that the taskd config command is used to manipulate this file. like, please don't hand-edit it, bestie, use the tool πŸ™

Note that any configuration variable may be overridden on the command line using this syntax:

$ taskd server --NAME=VALUE

In all commands but one, this will _temporarily_ override the value, but with the init command, which creates a config file, overrides are made permanent.

⭐ okay so this is the important part: temporarily for almost everything... but init makes it permanent. one command has main character energy and it's init. πŸ‘‘

🧚 ENVIRONMENT VARIABLES 🧚

Environment variables provide values that would otherwise be required at the command line. built-in answers, iykyk.

  • TASKDDATA=<root> β€” Most command require either --data <root> or this environment variable. If both are provided, the command line overrides the environment. so the command line is the boss here, fr fr. πŸ’…

πŸ‘‘ CREDITS & COPYRIGHTS πŸ‘‘

Copyright (C) 2010 - 2015, GΓΆteborg Bit Factory.

Taskserver is distributed under the MIT license. See http://www.opensource.org/licenses/mit-license.php for more information.


🌸 SEE ALSO 🌸

taskdrc(5),taskdctl(1)

For more information regarding Taskserver, see the following:


πŸ”₯ REPORTING BUGS πŸ”₯

Bugs in Taskserver may be reported to the issue-tracker at http://taskwarrior.org


🫢 and that's the whole page, bestie. go forth and sync slayfully. ✨

taskd 1.1.0 πŸŽ€ 2015-05-10 πŸŽ€ and that's the taskd(1) footer, mwah πŸ’‹

πŸ“¦ where this page comes from