Remove timestamp that didn't need to be there

This commit is contained in:
Finn 2021-02-02 16:15:22 -08:00
parent 8b8c819413
commit ee3122f293
21 changed files with 79 additions and 102 deletions

View file

@ -21,7 +21,6 @@ import (
"path"
"path/filepath"
"strings"
"time"
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
@ -46,7 +45,6 @@ func init() {
}
const fmTemplate = `---
date: %s
title: "%s"
slug: %s
url: %s
@ -54,11 +52,10 @@ url: %s
`
func filePrepender(filename string) string {
now := time.Now().Format(time.RFC3339)
name := filepath.Base(filename)
base := strings.TrimSuffix(name, path.Ext(name))
url := strings.ToLower(base)
return fmt.Sprintf(fmTemplate, now, strings.Replace(base, "_", " ", -1), base, url)
return fmt.Sprintf(fmTemplate, strings.Replace(base, "_", " ", -1), base, url)
}
func linkHandler(name string) string {

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl"
slug: signaldctl
url: /signaldctl/signaldctl
url: signaldctl
---
## signaldctl
@ -15,7 +14,7 @@ signaldctl is a command line tool to interact with signald.
### Options
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-h, --help help for signaldctl
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
@ -23,11 +22,11 @@ signaldctl is a command line tool to interact with signald.
### SEE ALSO
* [signaldctl account](/signaldctl/signaldctl_account) -
* [signaldctl config](/signaldctl/signaldctl_config) -
* [signaldctl device](/signaldctl/signaldctl_device) -
* [signaldctl group](/signaldctl/signaldctl_group) -
* [signaldctl message](/signaldctl/signaldctl_message) -
* [signaldctl version](/signaldctl/signaldctl_version) - print the current signald and signaldctl version
* [signaldctl account](/signald-go/signaldctl_account) -
* [signaldctl config](/signald-go/signaldctl_config) -
* [signaldctl device](/signald-go/signaldctl_device) -
* [signaldctl group](/signald-go/signaldctl_group) -
* [signaldctl message](/signald-go/signaldctl_message) -
* [signaldctl version](/signald-go/signaldctl_version) - print the current signald and signaldctl version
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl account"
slug: signaldctl_account
url: /signaldctl/signaldctl_account
url: signaldctl_account
---
## signaldctl account
@ -21,17 +20,17 @@ url: /signaldctl/signaldctl_account
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl](/signaldctl/signaldctl) - Interact with a running siangld instance
* [signaldctl account link](/signaldctl/signaldctl_account_link) - create a local account by linking to an existing Signal account
* [signaldctl account list](/signaldctl/signaldctl_account_list) - return a list of accounts
* [signaldctl account register](/signaldctl/signaldctl_account_register) - begin the process of creating a new account
* [signaldctl account verify](/signaldctl/signaldctl_account_verify) - verify an account and complete the registration process
* [signaldctl](/signald-go/signaldctl) - Interact with a running siangld instance
* [signaldctl account link](/signald-go/signaldctl_account_link) - create a local account by linking to an existing Signal account
* [signaldctl account list](/signald-go/signaldctl_account_list) - return a list of accounts
* [signaldctl account register](/signald-go/signaldctl_account_register) - begin the process of creating a new account
* [signaldctl account verify](/signald-go/signaldctl_account_verify) - verify an account and complete the registration process
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl account link"
slug: signaldctl_account_link
url: /signaldctl/signaldctl_account_link
url: signaldctl_account_link
---
## signaldctl account link
@ -26,13 +25,13 @@ signaldctl account link [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl account](/signaldctl/signaldctl_account) -
* [signaldctl account](/signald-go/signaldctl_account) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl account list"
slug: signaldctl_account_list
url: /signaldctl/signaldctl_account_list
url: signaldctl_account_list
---
## signaldctl account list
@ -25,13 +24,13 @@ signaldctl account list [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl account](/signaldctl/signaldctl_account) -
* [signaldctl account](/signald-go/signaldctl_account) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl account register"
slug: signaldctl_account_register
url: /signaldctl/signaldctl_account_register
url: signaldctl_account_register
---
## signaldctl account register
@ -27,13 +26,13 @@ signaldctl account register [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl account](/signaldctl/signaldctl_account) -
* [signaldctl account](/signald-go/signaldctl_account) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl account verify"
slug: signaldctl_account_verify
url: /signaldctl/signaldctl_account_verify
url: signaldctl_account_verify
---
## signaldctl account verify
@ -27,13 +26,13 @@ signaldctl account verify [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl account](/signaldctl/signaldctl_account) -
* [signaldctl account](/signald-go/signaldctl_account) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl config"
slug: signaldctl_config
url: /signaldctl/signaldctl_config
url: signaldctl_config
---
## signaldctl config
@ -21,14 +20,14 @@ url: /signaldctl/signaldctl_config
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl](/signaldctl/signaldctl) - Interact with a running siangld instance
* [signaldctl config set](/signaldctl/signaldctl_config_set) - send a message
* [signaldctl](/signald-go/signaldctl) - Interact with a running siangld instance
* [signaldctl config set](/signald-go/signaldctl_config_set) - send a message
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl config set"
slug: signaldctl_config_set
url: /signaldctl/signaldctl_config_set
url: signaldctl_config_set
---
## signaldctl config set
@ -25,13 +24,13 @@ signaldctl config set [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl config](/signaldctl/signaldctl_config) -
* [signaldctl config](/signald-go/signaldctl_config) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl device"
slug: signaldctl_device
url: /signaldctl/signaldctl_device
url: signaldctl_device
---
## signaldctl device
@ -21,15 +20,15 @@ url: /signaldctl/signaldctl_device
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl](/signaldctl/signaldctl) - Interact with a running siangld instance
* [signaldctl device list](/signaldctl/signaldctl_device_list) - list all devices linked to the account
* [signaldctl device remove](/signaldctl/signaldctl_device_remove) - remove a linked device
* [signaldctl](/signald-go/signaldctl) - Interact with a running siangld instance
* [signaldctl device list](/signald-go/signaldctl_device_list) - list all devices linked to the account
* [signaldctl device remove](/signald-go/signaldctl_device_remove) - remove a linked device
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl device list"
slug: signaldctl_device_list
url: /signaldctl/signaldctl_device_list
url: signaldctl_device_list
---
## signaldctl device list
@ -25,13 +24,13 @@ signaldctl device list [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl device](/signaldctl/signaldctl_device) -
* [signaldctl device](/signald-go/signaldctl_device) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl device remove"
slug: signaldctl_device_remove
url: /signaldctl/signaldctl_device_remove
url: signaldctl_device_remove
---
## signaldctl device remove
@ -27,13 +26,13 @@ signaldctl device remove [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl device](/signaldctl/signaldctl_device) -
* [signaldctl device](/signald-go/signaldctl_device) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl group"
slug: signaldctl_group
url: /signaldctl/signaldctl_group
url: signaldctl_group
---
## signaldctl group
@ -21,16 +20,16 @@ url: /signaldctl/signaldctl_group
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl](/signaldctl/signaldctl) - Interact with a running siangld instance
* [signaldctl group accept](/signaldctl/signaldctl_group_accept) - accept an invitation to join a group
* [signaldctl group list](/signaldctl/signaldctl_group_list) - return a list of Signal groups
* [signaldctl group show](/signaldctl/signaldctl_group_show) - show details about a group
* [signaldctl](/signald-go/signaldctl) - Interact with a running siangld instance
* [signaldctl group accept](/signald-go/signaldctl_group_accept) - accept an invitation to join a group
* [signaldctl group list](/signald-go/signaldctl_group_list) - return a list of Signal groups
* [signaldctl group show](/signald-go/signaldctl_group_show) - show details about a group
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl group accept"
slug: signaldctl_group_accept
url: /signaldctl/signaldctl_group_accept
url: signaldctl_group_accept
---
## signaldctl group accept
@ -26,13 +25,13 @@ signaldctl group accept [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl group](/signaldctl/signaldctl_group) -
* [signaldctl group](/signald-go/signaldctl_group) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl group list"
slug: signaldctl_group_list
url: /signaldctl/signaldctl_group_list
url: signaldctl_group_list
---
## signaldctl group list
@ -26,13 +25,13 @@ signaldctl group list [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl group](/signaldctl/signaldctl_group) -
* [signaldctl group](/signald-go/signaldctl_group) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl group show"
slug: signaldctl_group_show
url: /signaldctl/signaldctl_group_show
url: signaldctl_group_show
---
## signaldctl group show
@ -26,13 +25,13 @@ signaldctl group show [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl group](/signaldctl/signaldctl_group) -
* [signaldctl group](/signald-go/signaldctl_group) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl message"
slug: signaldctl_message
url: /signaldctl/signaldctl_message
url: signaldctl_message
---
## signaldctl message
@ -21,16 +20,16 @@ url: /signaldctl/signaldctl_message
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl](/signaldctl/signaldctl) - Interact with a running siangld instance
* [signaldctl message mark-read](/signaldctl/signaldctl_message_mark-read) - mark a message as read
* [signaldctl message react](/signaldctl/signaldctl_message_react) - react to a message
* [signaldctl message send](/signaldctl/signaldctl_message_send) - send a message
* [signaldctl](/signald-go/signaldctl) - Interact with a running siangld instance
* [signaldctl message mark-read](/signald-go/signaldctl_message_mark-read) - mark a message as read
* [signaldctl message react](/signald-go/signaldctl_message_react) - react to a message
* [signaldctl message send](/signald-go/signaldctl_message_send) - send a message
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl message mark-read"
slug: signaldctl_message_mark-read
url: /signaldctl/signaldctl_message_mark-read
url: signaldctl_message_mark-read
---
## signaldctl message mark-read
@ -26,13 +25,13 @@ signaldctl message mark-read [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl message](/signaldctl/signaldctl_message) -
* [signaldctl message](/signald-go/signaldctl_message) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl message react"
slug: signaldctl_message_react
url: /signaldctl/signaldctl_message_react
url: signaldctl_message_react
---
## signaldctl message react
@ -30,13 +29,13 @@ signaldctl message react [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl message](/signaldctl/signaldctl_message) -
* [signaldctl message](/signald-go/signaldctl_message) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl message send"
slug: signaldctl_message_send
url: /signaldctl/signaldctl_message_send
url: signaldctl_message_send
---
## signaldctl message send
@ -28,13 +27,13 @@ signaldctl message send [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl message](/signaldctl/signaldctl_message) -
* [signaldctl message](/signald-go/signaldctl_message) -
###### Auto generated by spf13/cobra on 2-Feb-2021

View file

@ -1,8 +1,7 @@
---
date: 2021-02-02T13:20:04-08:00
title: "signaldctl version"
slug: signaldctl_version
url: /signaldctl/signaldctl_version
url: signaldctl_version
---
## signaldctl version
@ -25,13 +24,13 @@ signaldctl version [flags]
### Options inherited from parent commands
```
--config string config file (default is ~/.config/signaldctl.yaml) (default "/home/finn/.config/signaldctl.yaml")
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
```
### SEE ALSO
* [signaldctl](/signaldctl/signaldctl) - Interact with a running siangld instance
* [signaldctl](/signald-go/signaldctl) - Interact with a running siangld instance
###### Auto generated by spf13/cobra on 2-Feb-2021