Skip to content

Commit

Permalink
Merge pull request #40 from gdegiorgio/gdegiorgio/italian-readme
Browse files Browse the repository at this point in the history
docs(readme): add italian readme, reorg docs structure
  • Loading branch information
DiegoDev2 authored Oct 28, 2024
2 parents e0fda9d + ffa5525 commit 886c9c5
Show file tree
Hide file tree
Showing 122 changed files with 4,656 additions and 4,601 deletions.
76 changes: 38 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


40 changes: 20 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.DS_Store
fleet
.DS_Store
fleet
144 changes: 72 additions & 72 deletions CLI/cmd.go
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
// Copyright (C) 2024 Fleet Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package cli

import (
"LattePkg/handlers"
"LattePkg/handlers/list"

"github.com/spf13/cobra"
)

func Command() *cobra.Command {
var rootCmd = &cobra.Command{
Use: "Fleet",
Short: "A package manager modern",
}

rootCmd.AddCommand(
&cobra.Command{
Use: "install [package]",
Short: "Install a package",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
handlers.Install(args[0])
},
},
&cobra.Command{
Use: "uninstall [package]",
Short: "Uninstall a package",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
handlers.Uninstall(args[0])
},
},
&cobra.Command{
Use: "list",
Short: "list all available packages",
Run: func(cmd *cobra.Command, args []string) {
list.List()
},
},
&cobra.Command{
Use: "version",
Short: "Show the version of Fleet",
Run: func(cmd *cobra.Command, args []string) {
handlers.ShowVersion()
},
},
&cobra.Command{
Use: "update [package]",
Short: "Update a package",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
// handlers.Update(args[0])
},
},
)

return rootCmd
}
// Copyright (C) 2024 Fleet Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package cli

import (
"LattePkg/handlers"
"LattePkg/handlers/list"

"github.com/spf13/cobra"
)

func Command() *cobra.Command {
var rootCmd = &cobra.Command{
Use: "Fleet",
Short: "A package manager modern",
}

rootCmd.AddCommand(
&cobra.Command{
Use: "install [package]",
Short: "Install a package",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
handlers.Install(args[0])
},
},
&cobra.Command{
Use: "uninstall [package]",
Short: "Uninstall a package",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
handlers.Uninstall(args[0])
},
},
&cobra.Command{
Use: "list",
Short: "list all available packages",
Run: func(cmd *cobra.Command, args []string) {
list.List()
},
},
&cobra.Command{
Use: "version",
Short: "Show the version of Fleet",
Run: func(cmd *cobra.Command, args []string) {
handlers.ShowVersion()
},
},
&cobra.Command{
Use: "update [package]",
Short: "Update a package",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
// handlers.Update(args[0])
},
},
)

return rootCmd
}
Loading

0 comments on commit 886c9c5

Please sign in to comment.