@ -6,9 +6,9 @@ import (
"gitoa.ru/go-4devs/console"
"gitoa.ru/go-4devs/console/input"
"gitoa.ru/go-4devs/console/input/flag"
"gitoa.ru/go-4devs/console/input/option"
"gitoa.ru/go-4devs/console/input/validator"
"gitoa.ru/go-4devs/console/input/value/flag"
"gitoa.ru/go-4devs/console/output"
)
@ -8,9 +8,9 @@ import (
"gitoa.ru/go-4devs/console/input/argument"
"gitoa.ru/go-4devs/console/output/descriptor"
@ -1,8 +1,8 @@
package argument
import (
"gitoa.ru/go-4devs/console/input/value"
func New(name, description string, opts ...func(*Argument)) Argument {
func Required(a *Argument) {
@ -1 +0,0 @@
package input
@ -1,7 +1,7 @@
package option
func Bool(name, description string, opts ...func(*Option)) Option {
func Required(o *Option) {
package validator
//nolint: gocyclo
@ -5,9 +5,9 @@ import (
"testing"
"time"
func TestNotBlank(t *testing.T) {
@ -4,9 +4,9 @@ import (
"errors"
func TestValid(t *testing.T) {
@ -1,6 +1,6 @@
package value
import "gitoa.ru/go-4devs/console/input/flag"
import "gitoa.ru/go-4devs/console/input/value/flag"
type Any struct {
empty
@ -3,7 +3,7 @@ package value
"strconv"
type Bool struct {
type Duration struct {
type Float64 struct {
type Int struct {
type Int64 struct {
type String struct {
type Time struct {
type Uint struct {
type Uint64 struct {
type Value interface {
@ -10,8 +10,8 @@ import (