From 467b0a37361493d2c095994115d5423623070901 Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Wed, 8 May 2024 23:11:41 -0700 Subject: [PATCH] wip --- cmd/commander/doc.go | 4 ++++ cmd/commander/main.go | 7 +++++++ cmd/commander/{ccmem => }/root.go | 18 +++--------------- main.go | 22 ---------------------- 4 files changed, 14 insertions(+), 37 deletions(-) create mode 100644 cmd/commander/doc.go create mode 100644 cmd/commander/main.go rename cmd/commander/{ccmem => }/root.go (79%) delete mode 100644 main.go diff --git a/cmd/commander/doc.go b/cmd/commander/doc.go new file mode 100644 index 0000000..40d35c9 --- /dev/null +++ b/cmd/commander/doc.go @@ -0,0 +1,4 @@ +// Copyright © 2024 github +// Licensed under the Apache License, Version 2.0 (the "License"). + +package main diff --git a/cmd/commander/main.go b/cmd/commander/main.go new file mode 100644 index 0000000..e9fd13e --- /dev/null +++ b/cmd/commander/main.go @@ -0,0 +1,7 @@ +// Copyright © 2024 github +// Licensed under the Apache License, Version 2.0 (the "License"). +package main + +func main() { + Execute() +} diff --git a/cmd/commander/ccmem/root.go b/cmd/commander/root.go similarity index 79% rename from cmd/commander/ccmem/root.go rename to cmd/commander/root.go index 02c50be..12a291c 100644 --- a/cmd/commander/ccmem/root.go +++ b/cmd/commander/root.go @@ -1,19 +1,7 @@ -/* -Copyright © 2024 github +// Copyright © 2024 github +// Licensed under the Apache License, Version 2.0 (the "License"). -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 ccmem +package main import ( "log" diff --git a/main.go b/main.go deleted file mode 100644 index 7044947..0000000 --- a/main.go +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright © 2024 NAME HERE - -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/advanced-security/mrvacommander/cmd/commander/ccmem" - -func main() { - ccmem.Execute() -}