1 Star 0 Fork 1

IceWhale Team / CasaOS-CLI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
//go:generate bash -c "mkdir -p codegen/local_storage && go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.12.4 -generate types,client -package local_storage https://raw.githubusercontent.com/IceWhaleTech/CasaOS-LocalStorage/main/api/local_storage/openapi.yaml > codegen/local_storage/api.go"
//go:generate bash -c "mkdir -p codegen/message_bus && go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.12.4 -generate types,client -package message_bus https://raw.githubusercontent.com/IceWhaleTech/CasaOS-MessageBus/main/api/message_bus/openapi.yaml > codegen/message_bus/api.go"
/*
Copyright © 2022 IceWhaleTech
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 main
import "github.com/IceWhaleTech/CasaOS-CLI/cmd"
var (
// see https://goreleaser.com/cookbooks/using-main.version
version = "0.4.0"
commit = "unknown"
date = "unknown"
)
func main() {
cmd.Version = version
cmd.Commit = commit
cmd.Date = date
cmd.Execute()
}
Go
1
https://gitee.com/icewhale-team/CasaOS-CLI.git
git@gitee.com:icewhale-team/CasaOS-CLI.git
icewhale-team
CasaOS-CLI
CasaOS-CLI
main

搜索帮助