From a72e11b3c7e7076c1b7767664b83b7ec71edf016 Mon Sep 17 00:00:00 2001 From: chenk Date: Thu, 30 May 2024 16:26:30 +0300 Subject: [PATCH] feat: embedded commands fs support Signed-off-by: chenk --- embed.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/embed.go b/embed.go index ff27334e..05016737 100644 --- a/embed.go +++ b/embed.go @@ -10,5 +10,8 @@ var EmbeddedPolicyFileSystem embed.FS //go:embed lib/* var EmbeddedLibraryFileSystem embed.FS -//go:embed commands/* -var EmbeddedCommandsFileSystem embed.FS +//go:embed commands/kubernetes/* +var EmbeddedK8sCommandsFileSystem embed.FS + +//go:embed commands/config/* +var EmbeddedConfigCommandsFileSystem embed.FS