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