# knife and fork ## Environment ```sh $ knife environment from file environments/foo.rb ``` ```sh $ fork environment upload foo ``` ## Role ```sh $ knife role from file roles/foo.rb ``` ```sh $ fork role upload foo ``` ## DataBag ```sh $ knife data bag from file foo data_bags/foo/bar.json ``` ```sh $ fork databag upload foo bar ``` ## Cookbook ```sh $ knife cookbook upload foo ``` ```sh $ fork cookbook upload foo ```