1// Copyright © 2025 NAME HERE <EMAIL ADDRESS>
2// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
3//
4// SPDX-License-Identifier: AGPL-3.0-or-later
5
6package cmd
7
8import (
9 "fmt"
10
11 "github.com/spf13/cobra"
12)
13
14var aCmd = &cobra.Command{
15 Use: "a",
16 Short: "Archive session",
17 Long: `Archive the current session`,
18 Run: func(cmd *cobra.Command, args []string) {
19 fmt.Println("[STUB] Archive the current session to database")
20 },
21}
22
23func init() {
24 rootCmd.AddCommand(aCmd)
25
26 // Here you will define your flags and configuration settings.
27
28 // Cobra supports Persistent Flags which will work for this command
29 // and all subcommands, e.g.:
30 // aCmd.PersistentFlags().String("foo", "", "A help for foo")
31
32 // Cobra supports local flags which will only run when this command
33 // is called directly, e.g.:
34 // aCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
35}