mirror of
				https://github.com/beego/bee.git
				synced 2025-11-03 23:03:27 +00:00 
			
		
		
		
	Added a few tweaks to the folder structure in the long description
This commit is contained in:
		
							
								
								
									
										12
									
								
								apiapp.go
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								apiapp.go
									
									
									
									
									
								
							@@ -36,17 +36,17 @@ var cmdApiapp = &Command{
 | 
			
		||||
 | 
			
		||||
  The command 'api' creates a folder named [appname] with the following structure:
 | 
			
		||||
 | 
			
		||||
	    ├── conf
 | 
			
		||||
	    ├── main.go
 | 
			
		||||
	    ├── {{"conf"|foldername}}
 | 
			
		||||
	    │     └── app.conf
 | 
			
		||||
	    ├── controllers
 | 
			
		||||
	    ├── {{"controllers"|foldername}}
 | 
			
		||||
	    │     └── object.go
 | 
			
		||||
	    │     └── user.go
 | 
			
		||||
	    ├── routers
 | 
			
		||||
	    ├── {{"routers"|foldername}}
 | 
			
		||||
	    │     └── router.go
 | 
			
		||||
	    ├── tests
 | 
			
		||||
	    ├── {{"tests"|foldername}}
 | 
			
		||||
	    │     └── default_test.go
 | 
			
		||||
	    ├── main.go
 | 
			
		||||
	    └── models
 | 
			
		||||
	    └── {{"models"|foldername}}
 | 
			
		||||
	          └── object.go
 | 
			
		||||
	          └── user.go
 | 
			
		||||
`,
 | 
			
		||||
 
 | 
			
		||||
@@ -37,10 +37,10 @@ var cmdHproseapp = &Command{
 | 
			
		||||
 | 
			
		||||
  The command 'hprose' creates a folder named [appname] with the following structure:
 | 
			
		||||
 | 
			
		||||
	    ├── conf
 | 
			
		||||
	    │     └── app.conf
 | 
			
		||||
	    ├── main.go
 | 
			
		||||
	    └── models
 | 
			
		||||
	    ├── {{"conf"|foldername}}
 | 
			
		||||
	    │     └── app.conf
 | 
			
		||||
	    └── {{"models"|foldername}}
 | 
			
		||||
	          └── object.go
 | 
			
		||||
	          └── user.go
 | 
			
		||||
`,
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										32
									
								
								new.go
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								new.go
									
									
									
									
									
								
							@@ -29,22 +29,22 @@ Creates a Beego application for the given app name in the current directory.
 | 
			
		||||
 | 
			
		||||
  The command 'new' creates a folder named [appname] and generates the following structure:
 | 
			
		||||
 | 
			
		||||
    |- main.go
 | 
			
		||||
    |- conf
 | 
			
		||||
         |-  app.conf
 | 
			
		||||
    |- controllers
 | 
			
		||||
         |- default.go
 | 
			
		||||
    |- models
 | 
			
		||||
    |- routers
 | 
			
		||||
         |- router.go
 | 
			
		||||
    |- tests
 | 
			
		||||
         |- default_test.go
 | 
			
		||||
    |- static
 | 
			
		||||
         |- js
 | 
			
		||||
         |- css
 | 
			
		||||
         |- img
 | 
			
		||||
    |- views
 | 
			
		||||
        index.tpl
 | 
			
		||||
            ├── main.go
 | 
			
		||||
            ├── {{"conf"|foldername}}
 | 
			
		||||
            │     └── app.conf
 | 
			
		||||
            ├── {{"controllers"|foldername}}
 | 
			
		||||
            │     └── default.go
 | 
			
		||||
            ├── {{"models"|foldername}}
 | 
			
		||||
            ├── {{"routers"|foldername}}
 | 
			
		||||
            │     └── router.go
 | 
			
		||||
            ├── {{"tests"|foldername}}
 | 
			
		||||
            │     └── default_test.go
 | 
			
		||||
            ├── {{"static"|foldername}}
 | 
			
		||||
            │     └── {{"js"|foldername}}
 | 
			
		||||
            │     └── {{"css"|foldername}}
 | 
			
		||||
            │     └── {{"img"|foldername}}
 | 
			
		||||
            └── {{"views"|foldername}}
 | 
			
		||||
                  └── index.tpl
 | 
			
		||||
 | 
			
		||||
`,
 | 
			
		||||
	PreRun: func(cmd *Command, args []string) { ShowShortVersionBanner() },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user